Documentation ¶
Overview ¶
gen for home toolset
Index ¶
- func GetAllProvider() []interface{}
- type Config
- type RedisBroker
- func (r *RedisBroker) Consumer(job constraint.Job)
- func (r *RedisBroker) Init()
- func (r *RedisBroker) Loop()
- func (r *RedisBroker) Push(event interface{}, names ...string)
- func (r *RedisBroker) SetConfig(client constraint.RedisClient, config ...Config)
- func (r *RedisBroker) SetWorker(worker constraint.Worker)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllProvider ¶
func GetAllProvider() []interface{}
Types ¶
type RedisBroker ¶
type RedisBroker struct {
// contains filtered or unexported fields
}
@Bean
func NewRedisBroker ¶
func NewRedisBroker() *RedisBroker
func (*RedisBroker) Consumer ¶
func (r *RedisBroker) Consumer(job constraint.Job)
func (*RedisBroker) Init ¶
func (r *RedisBroker) Init()
func (*RedisBroker) Push ¶
func (r *RedisBroker) Push(event interface{}, names ...string)
func (*RedisBroker) SetConfig ¶
func (r *RedisBroker) SetConfig(client constraint.RedisClient, config ...Config)
func (*RedisBroker) SetWorker ¶
func (r *RedisBroker) SetWorker(worker constraint.Worker)
Click to show internal directories.
Click to hide internal directories.