proxy

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2020 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBufferPool

func NewBufferPool() httputil.BufferPool

func NewEtcdGrpcProxy

func NewEtcdGrpcProxy() *grpcProxy

func NewHttpProxy

func NewHttpProxy() http.Handler

Types

type GrpcWorker

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

func NewProxyGrpcWorker

func NewProxyGrpcWorker() *GrpcWorker

func (*GrpcWorker) Run

func (worker *GrpcWorker) Run() error

func (*GrpcWorker) Stop

func (worker *GrpcWorker) Stop() error

type HttpWorker

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

func NewProxyHttpWorker

func NewProxyHttpWorker() *HttpWorker

func (*HttpWorker) Run

func (worker *HttpWorker) Run() error

func (*HttpWorker) Stop

func (worker *HttpWorker) Stop() error

type Proxy

type Proxy struct {
	jupiter.Application
}

func New

func New() *Proxy

Jump to

Keyboard shortcuts

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