router

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppRouter

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

func NewAppRouter

func NewAppRouter() *AppRouter

func (*AppRouter) AddRoutes

func (r *AppRouter) AddRoutes(group *router.Group)

func (*AppRouter) GetProxyService

func (r *AppRouter) GetProxyService() *service.ProxyService

type ProxyRouter

type ProxyRouter struct {
	*router.Router
	// contains filtered or unexported fields
}

func NewProxyRouter

func NewProxyRouter(proxyService *service.ProxyService) *ProxyRouter

func (*ProxyRouter) Start

func (r *ProxyRouter) Start() error

func (*ProxyRouter) Stop

func (r *ProxyRouter) Stop() error

Jump to

Keyboard shortcuts

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