Documentation ¶
Index ¶
- Variables
- 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)
- type Embed
- type Handler
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrTimeout = errors.New("Timeout when push bus messages") ErrNotReady = errors.New("BusExt is not ready") )
Functions ¶
Types ¶
type BusExt ¶
type BusExt struct { NS string ErrorLogger customLoggerInterface // contains filtered or unexported fields }
func (*BusExt) Application ¶
func (b *BusExt) Application() *gobay.Application
Click to show internal directories.
Click to hide internal directories.