tcp

package
v0.0.0-...-25ef478 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: Apache-2.0, BSD-2-Clause Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TCPServer

type TCPServer struct {
	Events tcpServerEvents
	// contains filtered or unexported fields
}

func NewServer

func NewServer() *TCPServer

func (*TCPServer) GetSocket

func (srv *TCPServer) GetSocket() net.Listener

func (*TCPServer) Listen

func (srv *TCPServer) Listen(bindAddress string, port int) *TCPServer

func (*TCPServer) Shutdown

func (srv *TCPServer) Shutdown()

Jump to

Keyboard shortcuts

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