plugin

package
v0.0.0-...-97c46b7 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionResult

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

ConnectionResult is used to couple a possible error when accepting a connection with its result.

type TCPChatServer

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

func NewTCPChatServer

func NewTCPChatServer(address string, port int) (*TCPChatServer, error)

NewTCPChatServer creates a new instance of TCPChatServer with an address and a port.

func (*TCPChatServer) Start

func (t *TCPChatServer) Start(ctx context.Context) error

Start starts the TCPChatServer instance and returns when ctx is Done.

Jump to

Keyboard shortcuts

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