Documentation ¶
Index ¶
- Constants
- func New(runner func(ctx context.Context)) *console.Command
- type Command
- func (o *Command) After(_ context.Context, container *console.Container, _ *console.Command, err error)
- func (o *Command) Before(_ context.Context, _ *console.Container, command *console.Command) (err error)
- func (o *Command) Run(ctx context.Context, _ *console.Container, _ *console.Command) (err error)
Constants ¶
View Source
const ( Description = "Start iris application service" Name = "start" OptHost = "host" OptHostDesc = "Service address, e.g. 0.0.0.0" OptHostShort = 'h' OptPort = "port" OptPortDesc = "Service listen port, e.g. 8080" OptPortShort = 'p' )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.