proxyplane

package
v0.0.0-...-6aa0337 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OPVProxyplaneUserAgent            = "OPV Proxy Plane"
	OPVProxyplaneExtraConfigNamespace = "github.com/roney492/opv"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPProxy

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

func MustNewHTTPProxy

func MustNewHTTPProxy() *HTTPProxy
	return jwkURL
}

func (*HTTPProxy) Start

func (h *HTTPProxy) Start()

func (*HTTPProxy) Stop

func (h *HTTPProxy) Stop()

type JWK

type JWK struct {
	Keys []struct {
		Kid     string   `json:"kid"`
		Kty     string   `json:"kty"`
		Alg     string   `json:"alg"`
		Use     string   `json:"use"`
		N       string   `json:"n"`
		E       string   `json:"e"`
		X5c     []string `json:"x5c"`
		X5t     string   `json:"x5t"`
		X5tS256 string   `json:"x5t#S256"`
	} `json:"keys"`
}

type ProxyPlane

type ProxyPlane struct {
	HTTPProxy *HTTPProxy
}

func MustNewProxyPlane

func MustNewProxyPlane() *ProxyPlane

func (*ProxyPlane) Start

func (pp *ProxyPlane) Start()

func (*ProxyPlane) Stop

func (pp *ProxyPlane) Stop()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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