proxy

package
v0.0.0-...-ca7bf4a Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AnnotationStartToken = "/*"
	AnnotationEndToken   = "*/"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AnnotationType

type AnnotationType int
const (
	ReadAnnotation AnnotationType = iota
	StartAnnotation
	EndAnnotation
)

func (AnnotationType) String

func (a AnnotationType) String() string

type Proxy

type Proxy struct {
	Stats map[string]int32
	// contains filtered or unexported fields
}

func NewProxy

func NewProxy() *Proxy

func (*Proxy) HandleConnection

func (p *Proxy) HandleConnection(client net.Conn)

HandleConnection handle an incoming connection to the proxy

Jump to

Keyboard shortcuts

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