router

package
v0.0.0-...-0423af4 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2021 License: MIT Imports: 8 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