Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type AppInfo ¶ added in v0.10.2
type AppInfo struct { }
AppInfo shows the info of the application.
func (AppInfo) Description ¶ added in v0.10.2
Description of the command
type AppServe ¶ added in v0.8.2
type AppServe struct { Host string `short:"h" flag:"host" description:"The host address to serve the application on [default: \"127.0.0.1\"]"` Port int `short:"p" flag:"port" description:"The port to serve the application on"` }
AppServe starts the http server to handle requests.
func (AppServe) Description ¶ added in v0.8.2
Description of the command
type Kernel ¶
type Kernel struct { App inter.App Writer io.Writer WriterErr io.Writer Commands []inter.Command FlagProviders []func() []flag.Getter }
func (Kernel) GetCommands ¶ added in v0.5.4
func (Kernel) GetFlagProviders ¶ added in v0.5.4
Source Files ¶
Click to show internal directories.
Click to hide internal directories.