Documentation
¶
Index ¶
- type Broker
- func (b *Broker) CreateNewEnviorment(enviorment string) error
- func (b *Broker) CreateNewQueueInEnviorment(queue string, enviorment string) error
- func (b *Broker) PublishMessage(enviorment string, queue string, message Message) error
- func (b *Broker) RemoveEnviorment(enviorment string) error
- func (b *Broker) RemoveQueueFromEnviorment(queue string, enviorment string) error
- func (b *Broker) SubscribeToQueue(enviorment string, queueName string, connection *net.Conn, ...) error
- type BrokerState
- type Consumer
- type Enviorment
- type Message
- type Queue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Broker ¶
type Broker struct { State BrokerState // contains filtered or unexported fields }
func (*Broker) CreateNewEnviorment ¶
func (*Broker) CreateNewQueueInEnviorment ¶
func (*Broker) PublishMessage ¶
func (*Broker) RemoveEnviorment ¶
func (*Broker) RemoveQueueFromEnviorment ¶
type BrokerState ¶
type BrokerState struct { Logger *zap.Logger Enviorments map[string]Enviorment }
type Enviorment ¶
type Message ¶
func NewBrokerMessage ¶
Click to show internal directories.
Click to hide internal directories.