server

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IPV6_TRANSPARENT     = 75
	IPV6_RECVORIGDSTADDR = 74
)

Variables

View Source
var (
	ErrUnsupportedAF     = errors.New("unsupported address family")
	ErrUnsupportedMethod = errors.New("unsupported method")
)

Functions

This section is empty.

Types

type Config

type Config struct {
	BindAddress string
	ClientReq   []byte
	ServerResp  []byte
}

type Server

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

func New

func New(ctx context.Context, cfg *Config) (*Server, error)

func (*Server) Close

func (s *Server) Close() error

Jump to

Keyboard shortcuts

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