tcp

package
v1.0.0-beta.3 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: Apache-2.0, BSD-2-Clause Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectEvent

type ConnectEvent struct {
	ManagedConnection *network.ManagedConnection
}

type ShutdownEvent

type ShutdownEvent struct{}

type StartEvent

type StartEvent struct{}

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