proxy

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrQueueDisabled = errors.New("queue is disabled")
)

Functions

This section is empty.

Types

type Gateway

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

func NewGateway

func NewGateway(cfg *config.ProxyConfig, db *db.DB, dispatcher *dispatcher.Dispatcher, metrics *metrics.Metrics, tracer *tracing.Tracer) *Gateway

func (*Gateway) Handle

func (gw *Gateway) Handle(w http.ResponseWriter, r *http.Request)

func (*Gateway) Start

func (gw *Gateway) Start()

Start starts an HTTP server

func (*Gateway) Stop

func (gw *Gateway) Stop() error

Stop stops the HTTP server

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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