Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Defaults = chamqp.ExchangeDeclareSpec{ Name: "", Kind: "topic", Durable: true, AutoDelete: false, Internal: false, NoWait: false, Args: nil, ErrorChan: nil, }
Functions ¶
This section is empty.
Types ¶
type AutoDeleteDecl ¶
type AutoDeleteDecl struct {
// contains filtered or unexported fields
}
func (AutoDeleteDecl) Defaults ¶
func (a AutoDeleteDecl) Defaults() End
func (AutoDeleteDecl) WithAutoDelete ¶
func (a AutoDeleteDecl) WithAutoDelete(autodelete bool) InternalDecl
func (AutoDeleteDecl) WithDefaultAutoDelete ¶
func (a AutoDeleteDecl) WithDefaultAutoDelete() InternalDecl
type BindDecl ¶
type BindDecl struct {
// contains filtered or unexported fields
}
func (BindDecl) AndDeclareQueue ¶
type End ¶
type End struct {
// contains filtered or unexported fields
}
func (End) BuildSpec ¶
func (e End) BuildSpec() chamqp.ExchangeDeclareSpec
type ErrorChanDecl ¶
type ErrorChanDecl struct {
// contains filtered or unexported fields
}
func (ErrorChanDecl) Defaults ¶
func (e ErrorChanDecl) Defaults() End
func (ErrorChanDecl) WithErrorChan ¶
func (e ErrorChanDecl) WithErrorChan(errorChan chan error) End
type InternalDecl ¶
type InternalDecl struct {
// contains filtered or unexported fields
}
func (InternalDecl) Defaults ¶
func (i InternalDecl) Defaults() End
func (InternalDecl) WithDefaultInternal ¶
func (i InternalDecl) WithDefaultInternal() NoWaitDecl
func (InternalDecl) WithInternal ¶
func (i InternalDecl) WithInternal(internal bool) NoWaitDecl
type KindDecl ¶
type KindDecl struct {
// contains filtered or unexported fields
}
func (KindDecl) WithDefaultDurable ¶
func (k KindDecl) WithDefaultDurable() AutoDeleteDecl
func (KindDecl) WithDurable ¶
func (k KindDecl) WithDurable(durable bool) AutoDeleteDecl
type NameDecl ¶
type NameDecl struct {
// contains filtered or unexported fields
}
func DeclareExchange ¶
func (NameDecl) WithDefaultKind ¶
type NoWaitDecl ¶
type NoWaitDecl struct {
// contains filtered or unexported fields
}
func (NoWaitDecl) Defaults ¶
func (n NoWaitDecl) Defaults() End
func (NoWaitDecl) WithDefaultNoWait ¶
func (n NoWaitDecl) WithDefaultNoWait() ArgsDecl
func (NoWaitDecl) WithNoWait ¶
func (n NoWaitDecl) WithNoWait(nowait bool) ArgsDecl
Click to show internal directories.
Click to hide internal directories.