subscriptions

package
v0.0.0-...-bfdebff Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RouteIncludesTopic

func RouteIncludesTopic(route, topic string) bool

Types

type Filter

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

func MakeFilter

func MakeFilter(
	topicFilter regexp.Regexp,
	topicAssembler template.Template,
	valMap map[string]template.Template,
	valFilter *regexp.Regexp,
	valAssembler *template.Template) Filter

func (*Filter) Apply

func (filter *Filter) Apply(topic string, value []byte) (string, []byte, bool)

Jump to

Keyboard shortcuts

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