pxyproto

package
v0.16.3 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPxyProtoServer

func NewPxyProtoServer(s string, p proxy.Proxy) (proxy.Server, error)

NewPxyProtoServer returns a PxyProtoServer struct.

Types

type PxyProtoServer

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

PxyProtoServer struct.

func (*PxyProtoServer) ListenAndServe

func (s *PxyProtoServer) ListenAndServe()

ListenAndServe listens on server's addr and serves connections.

func (*PxyProtoServer) Serve

func (s *PxyProtoServer) Serve(cc net.Conn)

Serve serves a connection.

Jump to

Keyboard shortcuts

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