proxy

package
v0.0.0-...-eeaacfc Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNTPConnection

func NewNTPConnection(
	Host string,
	Protocol string,
	Port string,
	LocalAddress string,
	TTL int,
	Timeout time.Duration) func(data []byte) ([]byte, error)

Types

type SocketServer

type SocketServer struct {
	Addr         string
	ExternalAddr string
	// contains filtered or unexported fields
}

func NewSocketServer

func NewSocketServer(addr string, externalAddr string, numWorkers int, ntpServer string, staticFS fs.FS, templateFS fs.FS, debug bool, logger zLogger.ZLogger) (*SocketServer, error)

func (*SocketServer) Start

func (srv *SocketServer) Start(tlsConfig *tls.Config) error

func (*SocketServer) Stop

func (srv *SocketServer) Stop() error

Jump to

Keyboard shortcuts

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