Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetService ¶
Types ¶
type Server ¶
type ServerResover ¶
type ServerResover interface { Name() string Resolve(name string, router *engine.RouterGroup, cfg config.Config, opts ...engine.Option) (Server, error) }
ServerResover 定义配置文件转换方法
type Task ¶
type Task struct { Queue string `json:"queue"` Service string `json:"service,omitempty"` Disable bool `json:"disable"` Concurrency int `json:"concurrency,omitempty"` BufferSize int `json:"buffersize,omitempty"` VisibilityTimeout int `json:"visibility_timeout"` Meta metadata.Metadata `json:"meta,omitempty"` }
func (Task) GetBufferSize ¶ added in v0.5.6
func (Task) GetConcurrency ¶
func (*Task) GetService ¶
func (Task) GetVisibilityTimeout ¶ added in v0.5.6
Click to show internal directories.
Click to hide internal directories.