proxy

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2020 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StreamStore *store

Functions

func InitStreamStore added in v0.2.0

func InitStreamStore()

func NewBufferPool

func NewBufferPool() httputil.BufferPool

func NewEtcdGrpcProxy

func NewEtcdGrpcProxy() *grpcProxy

NewEtcdGrpcProxy ..

func NewHTTPProxy added in v0.2.0

func NewHTTPProxy() http.Handler

NewHTTPProxy ..

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

Run ..

func (*HttpWorker) Stop

func (worker *HttpWorker) Stop() error

Stop the worker

Jump to

Keyboard shortcuts

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