mirror of
https://github.com/scroll-tech/scroll.git
synced 2026-01-15 00:48:01 -05:00
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>
16 lines
240 B
Go
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,
|
|
}
|
|
)
|