Documentation ¶
Index ¶
- func BoolFlag(dest *bool, name string, usage string) *cli.BoolFlag
- func GetInstanceName() string
- func InstanceNameFlag() cli.Flag
- func IntFlag(dest *int, name string, usage string) *cli.IntFlag
- func RunHTTPServer(parentCtx context.Context, h http.Handler, bind string) error
- func StringFlag(dest *string, name string, usage string) *cli.StringFlag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInstanceName ¶
func GetInstanceName() string
GetInstanceName uses the provided instance name or returns a randomly generated one.
Calling it multiple times will return the same value
func InstanceNameFlag ¶
func InstanceNameFlag() cli.Flag
func RunHTTPServer ¶
func StringFlag ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.