matcher

package
v4.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MatchFunc

type MatchFunc func(vars Vars, msg interface{})

type Matcher

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

func (*Matcher) Call

func (m *Matcher) Call(path string, msg interface{})

func (*Matcher) Register

func (m *Matcher) Register(pattern string, handler MatchFunc)

type Vars

type Vars map[string]string

Jump to

Keyboard shortcuts

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