router

package
v0.17.2 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorDuplicateRouterType = errors.New("duplicate")
)

Functions

func Register

func Register(tp RouterType, handler RouterServerHandler) error

Types

type RouterServerHandler

type RouterServerHandler func(port int, listener net.Listener)

type RouterType

type RouterType int
const (
	GRPC RouterType = iota
	Http
	Dubbo2
	TslTCP
	AnyTCP
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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