consumer

package
v0.0.0-...-16b6e5b Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

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

type KubemqConsumer

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

func New

func New(ctx context.Context, consumerName string) (*KubemqConsumer, error)

func (*KubemqConsumer) Shutdown

func (c *KubemqConsumer) Shutdown(timeout int)

func (*KubemqConsumer) Start

func (c *KubemqConsumer) Start() error

type Message

type Message struct {
	ID   string
	Data string
}

Jump to

Keyboard shortcuts

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