router

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Module("tunnel_router", fx.Provide(newMux))

Module

Functions

This section is empty.

Types

type Mux

type Mux interface {
	Add(string, string, string, string)
	Del(string)
	Match(string) (Route, bool)
}

type Result

type Result struct {
	fx.Out

	Mux Mux
}

Result

type Route

type Route struct {
	Protocol string
	IP       string
	Port     string
}

Jump to

Keyboard shortcuts

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