sizefilter

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MaxBytesRule

func MaxBytesRule(support Support) filter.Rule

MaxBytesRule rejects messages larger than maxBytes

Types

type Support added in v1.0.1

type Support interface {
	BatchSize() *ab.BatchSize
}

Support defines the subset of the channel support required to create this filter

Jump to

Keyboard shortcuts

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