tcpserver

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2021 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TcpServer

type TcpServer struct {
	Logger   *log.Entry
	Receiver chan []byte
	Port     int
	Conns    []net.Conn
}

func NewTcpServer

func NewTcpServer(loglevel log.Level) *TcpServer

func (*TcpServer) Wirte2Conns

func (t *TcpServer) Wirte2Conns(b []byte)

Jump to

Keyboard shortcuts

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