Documentation ¶
Index ¶
- func NewAdapter(ctx context.Context, processed adapter.EnvConfigAccessor, ...) adapter.MessageAdapter
- func NewEnvConfig() adapter.EnvConfigAccessor
- type Adapter
- func (a *Adapter) ConsumeMessages(channel *wabbit.Channel, queue *wabbit.Queue, logger *zap.Logger) (<-chan wabbit.Delivery, error)
- func (a *Adapter) CreateChannel(conn wabbit.Conn, connTest *amqptest.Conn, logger *zap.Logger) (wabbit.Channel, error)
- func (a *Adapter) CreateConn(logger *zap.Logger) (wabbit.Conn, error)
- func (a *Adapter) PollForMessages(channel *wabbit.Channel, queue *wabbit.Queue, stopCh <-chan struct{}) error
- func (a *Adapter) Start(ctx context.Context) error
- func (a *Adapter) StartAmqpClient(ch *wabbit.Channel) (*wabbit.Queue, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAdapter ¶
func NewAdapter(ctx context.Context, processed adapter.EnvConfigAccessor, httpMessageSender *kncloudevents.HTTPMessageSender, reporter source.StatsReporter) adapter.MessageAdapter
func NewEnvConfig ¶
func NewEnvConfig() adapter.EnvConfigAccessor
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
func (*Adapter) ConsumeMessages ¶
func (*Adapter) CreateChannel ¶
func (*Adapter) PollForMessages ¶
Click to show internal directories.
Click to hide internal directories.