Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloseListener ¶
type CloseListener interface {
OnClose() error
}
type Confirmation ¶
type DestinationConfig ¶
type DestinationConfig struct { RoutingKey string `json:"name"` QueueName string `json:"queue"` Exchange string `json:"exchange"` Attributes []string `json:"attributes"` Filters []FilterConfiguration `json:"filters"` }
type FilterConfiguration ¶
type FilterConfiguration struct { Metadata FilterSpec `json:"metadata"` Message FilterSpec `json:"message"` }
type FilterFieldsConfig ¶
type FilterFieldsConfig struct { FieldName string ExpectedValue string Operation FilterOperation }
type FilterOperation ¶
type FilterOperation string
const ( Equal FilterOperation = "EQUAL" NotEqual FilterOperation = "NOT_EQUAL" Empty FilterOperation = "EMPTY" NotEmpty FilterOperation = "NOT_EMPTY" Wildcard FilterOperation = "WILDCARD" )
func (*FilterOperation) UnmarshalJSON ¶
func (op *FilterOperation) UnmarshalJSON(data []byte) error
type FilterSpec ¶
type FilterSpec struct {
Filters []FilterFieldsConfig
}
func (*FilterSpec) UnmarshalJSON ¶
func (fc *FilterSpec) UnmarshalJSON(data []byte) error
type RouterConfig ¶
type RouterConfig struct {
Queues map[string]DestinationConfig `json:"queues"`
}
Click to show internal directories.
Click to hide internal directories.