source

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrPendingUnavailable = errors.New("pending not available")

Functions

This section is empty.

Types

type HasPending

type HasPending interface {
	Interface
	// GetPending returns the number of pending messages.
	// It may return ErrPendingUnavailable if this is not available yet.
	GetPending(ctx context.Context) (uint64, error)
}

type Interface

type Interface interface {
	io.Closer
}

type Process added in v0.0.101

type Process func(ctx context.Context, msg []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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