router

package
v1.15.21 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	Path string
	// contains filtered or unexported fields
}

Node ...

func (*Node) Insert

func (n *Node) Insert(pattern string, parts []string, height int)

Insert ...

func (*Node) IsWild added in v1.10.16

func (n *Node) IsWild() bool

IsWild ...

func (*Node) MatchChild

func (n *Node) MatchChild(part string) *Node

MatchChild ...

func (*Node) Search

func (n *Node) Search(parts []string, height int) *Node

Search ...

Jump to

Keyboard shortcuts

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