Documentation ¶
Index ¶
- func BuildMsg(routingKey string, args []interface{}, kwargs map[string]interface{}) (*amqp.Publishing, error)
- type Body
- type BusExt
- func (b *BusExt) Application() *gobay.Application
- func (b *BusExt) Close() error
- func (b *BusExt) Consume() error
- func (b *BusExt) Init(app *gobay.Application) error
- func (b *BusExt) Object() interface{}
- func (b *BusExt) Push(exchange, routingKey string, data amqp.Publishing) error
- func (b *BusExt) Register(routingKey string, handler Handler)
- func (b *BusExt) UnsafePush(exchange, routingKey string, data amqp.Publishing) error
- type Embed
- type Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BusExt ¶
type BusExt struct { NS string // contains filtered or unexported fields }
func (*BusExt) Application ¶
func (b *BusExt) Application() *gobay.Application
func (*BusExt) Push ¶
func (b *BusExt) Push(exchange, routingKey string, data amqp.Publishing) error
func (*BusExt) UnsafePush ¶
func (b *BusExt) UnsafePush(exchange, routingKey string, data amqp.Publishing) error
Click to show internal directories.
Click to hide internal directories.