Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CLI ¶
type CLI struct { Port int32 `short:"p" default:"1205" help:"Port to listen on."` Store bool `short:"s" help:"Persist the database to disk."` RepoFile string ` default:"${RepoFile}" help:"The file to persist the database to."` Secure bool `short:"S" help:"Enable HTTPS."` Server ServerCmd `default:"1" help:"Start the server." cmd:""` OpenAPI OpenAPICmd `help:"Output the OpenAPI specification version." cmd:"" optional:""` Version kong.VersionFlag `short:"v" help:"Show version."` }
func (*CLI) AfterApply ¶
type OpenAPICmd ¶
type OpenAPICmd struct {
Spec string `default:"3.1" help:"OpenAPI specification version." enum:"3.1,3.0.3"`
}
func (*OpenAPICmd) Run ¶
func (cmd *OpenAPICmd) Run(ctx *Ctx) error
Click to show internal directories.
Click to hide internal directories.