consumer

package
v0.12.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConsumer

func NewConsumer() stream.ConsumerCallbackFactory

Types

type Consumer

type Consumer struct {
	// contains filtered or unexported fields
}

func (*Consumer) Consume

func (c *Consumer) Consume(ctx context.Context, model interface{}, _ map[string]string) (bool, error)

func (*Consumer) GetModel

func (c *Consumer) GetModel(map[string]string) interface{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL