proxy

package
v0.2.1-alpha Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Opts

type Opts struct {
	Logg       logf.Logger
	V1Upstream string
	V2Upstream string
}

type Proxy

type Proxy struct {
	V1 *httputil.ReverseProxy
	V2 *httputil.ReverseProxy
}

func InitProxy

func InitProxy(o Opts) (*Proxy, error)

Jump to

Keyboard shortcuts

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