tcpwrapper

package
v0.0.0-...-55c0a6c Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	INPUT_QUESIZE = 8
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientConnection

type ClientConnection struct {
	ClientId int
	// contains filtered or unexported fields
}

type TcpConfiguration

type TcpConfiguration struct {
	Port uint16
	TLS  bool
}

type TcpServer

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

func NewTcpWrapper

func NewTcpWrapper(configuration *TcpConfiguration) (*TcpServer, error)

func (*TcpServer) Serve

func (s *TcpServer) Serve(response <-chan []byte) (request chan<- []byte, closeChan chan bool)

Jump to

Keyboard shortcuts

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