Documentation ¶
Index ¶
- func Consume(names []string, fn func(amqp.Delivery))
- func ConsumeRPC(names []string, fn func(amqp.Delivery) []byte)
- func GetOneChan(name ...string) *amqp.Channel
- func GetRabbitMq(name ...string) (c map[string]*amqp.Channel)
- func InitRabbitMq() (err error)
- func Publish(exchange, key string, tsk *kts.Task) (err error)
- func PublishRPC(exchange, key string, tsk *kts.Task) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOneChan ¶
func GetRabbitMq ¶
GetRedis get redis instance with name
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.