proxy

package
v0.5.9 Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: Apache-2.0 Imports: 23 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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