proxy

package
v0.0.0-...-6685179 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2025 License: MIT Imports: 26 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Proxy

type Proxy struct {
	Interceptors interceptors
	// contains filtered or unexported fields
}

Proxy is a gateway proxy.

func New

func New(clientFactory client.Factory, middlewareFactory middleware.FactoryV2) (*Proxy, error)

New is new a gateway proxy.

func (*Proxy) DebugHandler

func (p *Proxy) DebugHandler() http.Handler

DebugHandler implemented debug handler.

func (*Proxy) ServeHTTP

func (p *Proxy) ServeHTTP(w http.ResponseWriter, req *http.Request)

func (*Proxy) Update

func (p *Proxy) Update(buildContext *client.BuildContext, c *config.Gateway) (retError error)

Update updates service endpoint.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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