sizefilter

package
Version: v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2017 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

Source Files

Jump to

Keyboard shortcuts

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