Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BurnCreated ¶
type EventHandler ¶
type EventHandler interface {
OnEvent(event interface{}) error
}
type LocalConsumer ¶
type LocalConsumer struct {
// contains filtered or unexported fields
}
func NewLocalConsumer ¶
func NewLocalConsumer(queue Backend, hdlrs []EventHandler) *LocalConsumer
func (*LocalConsumer) Start ¶
func (s *LocalConsumer) Start()
func (*LocalConsumer) Stop ¶
func (s *LocalConsumer) Stop()
type MemBackend ¶
type MemBackend struct {
// contains filtered or unexported fields
}
func NewMemBackend ¶
func NewMemBackend() *MemBackend
func (*MemBackend) Consume ¶
func (m *MemBackend) Consume() interface{}
func (*MemBackend) Publish ¶
func (m *MemBackend) Publish(item interface{}) error
func (*MemBackend) Start ¶
func (m *MemBackend) Start()
func (*MemBackend) Stop ¶
func (m *MemBackend) Stop()
type OrderCancelled ¶
Click to show internal directories.
Click to hide internal directories.