proxy

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProxyServer

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

func NewProxyServer

func NewProxyServer(
	lg *slog.Logger,
) *ProxyServer

func (*ProxyServer) ConfigureRoutes

func (p *ProxyServer) ConfigureRoutes(router *gin.Engine)

func (*ProxyServer) Healthy

func (p *ProxyServer) Healthy() bool

func (ProxyServer) Initialize

func (a ProxyServer) Initialize(tlsConfig *tls.Config)

func (*ProxyServer) Name

func (p *ProxyServer) Name() string

func (*ProxyServer) Ready

func (p *ProxyServer) Ready() bool

func (ProxyServer) ServeHTTP

func (a ProxyServer) ServeHTTP(w http.ResponseWriter, r *http.Request)

func (*ProxyServer) SetConfig

func (p *ProxyServer) SetConfig(cfg server.Config)

func (*ProxyServer) Status

func (p *ProxyServer) Status() server.Status

func (*ProxyServer) Sync

Jump to

Keyboard shortcuts

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