Documentation
¶
Index ¶
- type ChannelWithPublishJson
- type Immediate
- type Mandatory
- type Publish
- type PublishStruct
- func (p *PublishStruct) Publish(objectToBeSent interface{})
- func (p *PublishStruct) WithExchange(exchangeName string) WithRoutingKey
- func (p *PublishStruct) WithImmediate(immediate bool) Publish
- func (p *PublishStruct) WithMandatory(mandatory bool) Immediate
- func (p *PublishStruct) WithRoutingKey(key string) Mandatory
- type WithExchange
- type WithRoutingKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelWithPublishJson ¶
type PublishStruct ¶
type PublishStruct struct {
// contains filtered or unexported fields
}
func (*PublishStruct) Publish ¶
func (p *PublishStruct) Publish(objectToBeSent interface{})
func (*PublishStruct) WithExchange ¶
func (p *PublishStruct) WithExchange(exchangeName string) WithRoutingKey
func (*PublishStruct) WithImmediate ¶
func (p *PublishStruct) WithImmediate(immediate bool) Publish
func (*PublishStruct) WithMandatory ¶
func (p *PublishStruct) WithMandatory(mandatory bool) Immediate
func (*PublishStruct) WithRoutingKey ¶
func (p *PublishStruct) WithRoutingKey(key string) Mandatory
type WithExchange ¶
type WithExchange interface {
WithExchange(exchangeName string) WithRoutingKey
}
func WithChannel ¶
func WithChannel(channel ChannelWithPublishJson) WithExchange
type WithRoutingKey ¶
Click to show internal directories.
Click to hide internal directories.