Documentation
¶
Index ¶
- type RabbitMQQueueSource
- func (s *RabbitMQQueueSource) Ack(ctx context.Context, msg hermod.Message) error
- func (s *RabbitMQQueueSource) Close() error
- func (s *RabbitMQQueueSource) Ping(ctx context.Context) error
- func (s *RabbitMQQueueSource) Read(ctx context.Context) (hermod.Message, error)
- func (s *RabbitMQQueueSource) Sample(ctx context.Context, table string) (hermod.Message, error)
- type RabbitMQStreamSource
- func (s *RabbitMQStreamSource) Ack(ctx context.Context, msg hermod.Message) error
- func (s *RabbitMQStreamSource) Close() error
- func (s *RabbitMQStreamSource) Ping(ctx context.Context) error
- func (s *RabbitMQStreamSource) Read(ctx context.Context) (hermod.Message, error)
- func (s *RabbitMQStreamSource) Sample(ctx context.Context, table string) (hermod.Message, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RabbitMQQueueSource ¶
type RabbitMQQueueSource struct {
// contains filtered or unexported fields
}
func NewRabbitMQQueueSource ¶
func NewRabbitMQQueueSource(url string, queueName string) (*RabbitMQQueueSource, error)
func (*RabbitMQQueueSource) Close ¶
func (s *RabbitMQQueueSource) Close() error
type RabbitMQStreamSource ¶
type RabbitMQStreamSource struct {
// contains filtered or unexported fields
}
func NewRabbitMQStreamSource ¶
func NewRabbitMQStreamSource(url string, streamName string, consumerName string) (*RabbitMQStreamSource, error)
func (*RabbitMQStreamSource) Close ¶
func (s *RabbitMQStreamSource) Close() error
Click to show internal directories.
Click to hide internal directories.