Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configuration ¶
type Configuration struct { Workers int `toml:"workers"` TimeoutI int `toml:"timeout"` QueuesM map[string]int `toml:"queues"` }
func (*Configuration) Queues ¶
func (p *Configuration) Queues() []string
func (*Configuration) Timeout ¶
func (p *Configuration) Timeout() time.Duration
type Message ¶
type Message struct { Id string `json:"id"` Title string `json:"title"` Body []byte `json:"body"` Created time.Time `json:"created"` }
func NewMessage ¶
type RedisStore ¶
type RedisStore struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.