Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CorrelationIdMiddleware ¶
func CorrelationIdMiddleware(h message.HandlerFunc) message.HandlerFunc
func ErrorLoggerMiddleware ¶
func ErrorLoggerMiddleware(logger *logs.Logger) func(h message.HandlerFunc) message.HandlerFunc
Types ¶
type AmqpPublisher ¶
type AmqpPublisher struct {
// contains filtered or unexported fields
}
func NewAmqpPublisher ¶
func NewAmqpPublisher(amqpUrl string, logger *logs.Logger) (AmqpPublisher, error)
func (AmqpPublisher) Close ¶
func (p AmqpPublisher) Close() error
type CorrelationIdPublisher ¶
type CorrelationIdPublisher struct {
// contains filtered or unexported fields
}
func NewCorrelationIdPublisher ¶
func NewCorrelationIdPublisher(publisher message.Publisher) CorrelationIdPublisher
func (CorrelationIdPublisher) Close ¶
func (c CorrelationIdPublisher) Close() error
type Publisher ¶
type Publisher struct {
// contains filtered or unexported fields
}
func NewPublisher ¶
Click to show internal directories.
Click to hide internal directories.