Documentation ¶
Index ¶
- type App
- type KafkaService
- func (k *KafkaService) BulkRetrieve(ctx context.Context, topic, group string, max int) ([]map[string]interface{}, error)
- func (k *KafkaService) RetrieveMessage(ctx context.Context, topic, group string) (map[string]interface{}, error)
- func (k *KafkaService) SendMessage(ctx context.Context, topic, key string, payload interface{}) error
- type PubsubService
- func (a *PubsubService) BulkRetrieve(ctx context.Context, topic, group string, max int) ([]map[string]interface{}, error)
- func (a *PubsubService) RetrieveMessage(ctx context.Context, topic, group string) (map[string]interface{}, error)
- func (a *PubsubService) SendMessage(ctx context.Context, topic, key string, payload interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type KafkaService ¶
type KafkaService struct {
// contains filtered or unexported fields
}
func NewKafkaService ¶
func NewKafkaService(conf config.Getter) (*KafkaService, error)
func (*KafkaService) BulkRetrieve ¶
func (*KafkaService) RetrieveMessage ¶
func (*KafkaService) SendMessage ¶
func (k *KafkaService) SendMessage(ctx context.Context, topic, key string, payload interface{}) error
type PubsubService ¶
func NewPubsubService ¶
func NewPubsubService(conf config.Getter) (*PubsubService, error)
func (*PubsubService) BulkRetrieve ¶
func (*PubsubService) RetrieveMessage ¶
func (*PubsubService) SendMessage ¶
func (a *PubsubService) SendMessage(ctx context.Context, topic, key string, payload interface{}) error
Click to show internal directories.
Click to hide internal directories.