routes

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteHTTPRoute

func DeleteHTTPRoute(alias string)

func DeleteStreamRoute

func DeleteStreamRoute(alias string)

func GetHTTPRoute

func GetHTTPRoute(alias string) (types.HTTPRoute, bool)

func GetHTTPRouteOrExact

func GetHTTPRouteOrExact(alias, host string) (types.HTTPRoute, bool)

func GetHTTPRoutes

func GetHTTPRoutes() F.Map[string, types.HTTPRoute]

func GetRoute added in v0.10.0

func GetRoute(alias string) (types.Route, bool)

func GetStreamRoute

func GetStreamRoute(alias string) (types.StreamRoute, bool)

func GetStreamRoutes

func GetStreamRoutes() F.Map[string, types.StreamRoute]

func NumRoutes added in v0.10.0

func NumRoutes() int

func RangeRoutes added in v0.10.0

func RangeRoutes(callback func(alias string, r types.Route))

func SetHTTPRoute

func SetHTTPRoute(alias string, r types.HTTPRoute)

func SetStreamRoute

func SetStreamRoute(alias string, r types.StreamRoute)

func TestClear

func TestClear()

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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