common

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrEmptyConfig        = errors.New("err empty config")
	ErrEmptyAddresses     = errors.New("err empty addresses")
	ErrEmptyErrFunc       = errors.New("err empty err func")
	ErrEmptyGroupName     = errors.New("err empty group name")
	ErrGroupAlreadyClosed = errors.New("err group already closed")
)

Functions

This section is empty.

Types

type Config

type Config struct {
	Addresses           []string
	SkipUnmarshalErrors map[Topic]struct{}
}

type ErrFunc

type ErrFunc func(err error)

type MessageHandler

type MessageHandler func(msg json.RawMessage) error

type Topic

type Topic string

type Topics

type Topics []Topic

func (Topics) ToStrings

func (t Topics) ToStrings() []string

Jump to

Keyboard shortcuts

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