Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProtoConfigArgs ¶
type ProtoConfigArgs struct { ID int // The ID of the task HttpAddr string // Usually used to save the address of the master Callback string // If it is asynchronous mode, the response // will be sent to the address specified by Callback Options interface{} }
func NewConfigArgs ¶ added in v0.1.1
func NewConfigArgs(opts interface{}) *ProtoConfigArgs
type WebOptions ¶
type WebOptions struct { DSN string `json:"dsn,omitempty"` File string `json:"file,omitempty"` Type string `json:"type,omitempty"` }
WebOptions contains options of the web command
func NewWebOptions ¶ added in v0.1.1
func NewWebOptions() *WebOptions
func (*WebOptions) Validate ¶ added in v0.1.1
func (webOptions *WebOptions) Validate(args []string) error
Click to show internal directories.
Click to hide internal directories.