proxy

package
v0.4.9 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2021 License: Apache-2.0 Imports: 22 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(etcdConf cfg.Etcd) *grpcProxy

NewEtcdGrpcProxy ..

func NewHTTPProxy added in v0.2.0

func NewHTTPProxy() http.Handler

NewHTTPProxy ..

Types

type GrpcEtcdConfigWorker added in v0.4.0

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

GrpcEtcdConfigWorker ..

func NewProxyGrpcConfigWorker added in v0.4.0

func NewProxyGrpcConfigWorker() *GrpcEtcdConfigWorker

NewProxyGrpcConfigWorker ..

func (*GrpcEtcdConfigWorker) Run added in v0.4.0

func (worker *GrpcEtcdConfigWorker) Run() error

func (*GrpcEtcdConfigWorker) Stop added in v0.4.0

func (worker *GrpcEtcdConfigWorker) Stop() error

type GrpcEtcdRegisterWorker added in v0.4.0

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

GrpcEtcdRegisterWorker ..

func NewProxyGrpcRegisterWorker added in v0.4.0

func NewProxyGrpcRegisterWorker() *GrpcEtcdRegisterWorker

NewProxyGrpcRegisterWorker ..

func (*GrpcEtcdRegisterWorker) Run added in v0.4.0

func (worker *GrpcEtcdRegisterWorker) Run() error

func (*GrpcEtcdRegisterWorker) Stop added in v0.4.0

func (worker *GrpcEtcdRegisterWorker) 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