Files
scroll/prover-stats-api/cmd/app/flags.go
Lawliet-Chan e3b451c641 feat(prover-stats-api): add prover stats API (#635)
Co-authored-by: xinran chen <lawliet@xinran-m1x.local>
Co-authored-by: georgehao <haohongfan@gmail.com>
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
2023-07-20 15:33:29 +08:00

16 lines
240 B
Go

package app
import "github.com/urfave/cli/v2"
var (
apiFlags = []cli.Flag{
&httpPortFlag,
}
// httpPortFlag set http.port.
httpPortFlag = cli.IntFlag{
Name: "http.port",
Usage: "HTTP server listening port",
Value: 8990,
}
)