router

package
v0.0.0-...-3ce899b Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Route

type Route struct {
	ID        string
	Scheme    string
	Transport *http.Transport
}

type Router

type Router struct {
	sync.RWMutex

	Server *remotedialer.Server
	// contains filtered or unexported fields
}

func (*Router) Add

func (r *Router) Add(req *http.Request) string

func (*Router) Lookup

func (r *Router) Lookup(req *http.Request) *Route

func (*Router) Remove

func (r *Router) Remove(req *http.Request)

Jump to

Keyboard shortcuts

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