Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RabbitRegistrarTransport ¶
type RabbitRegistrarTransport struct {
// contains filtered or unexported fields
}
func NewRabbitRegistrarTransport ¶
func NewRabbitRegistrarTransport(conn *amqp.Connection, logger *zap.Logger) (*RabbitRegistrarTransport, error)
func (*RabbitRegistrarTransport) AddHandler ¶
func (t *RabbitRegistrarTransport) AddHandler(handler RegistrarHandler)
AddHandler adds a handler to the worker
func (*RabbitRegistrarTransport) Close ¶
func (t *RabbitRegistrarTransport) Close()
func (*RabbitRegistrarTransport) RegisterCommand ¶
func (t *RabbitRegistrarTransport) RegisterCommand(id uuid.UUID, command string) error
func (*RabbitRegistrarTransport) Start ¶
func (t *RabbitRegistrarTransport) Start() error
type RegistrarHandler ¶
type RegistrarMessage ¶
type RegistrarReceiver ¶
type RegistrarReceiver interface { AddHandler(handler RegistrarHandler) Start() error Close() }
Click to show internal directories.
Click to hide internal directories.