server

package
v0.0.0-...-f902c1e Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IReaderWithTimeout

type IReaderWithTimeout interface {
	io.Reader
	SetReadDeadline(t time.Time) error
}

type WsToTcpServer

type WsToTcpServer struct {
	// Addr is the address to listen on.
	Addr string
	Port int
	// contains filtered or unexported fields
}

func NewWsToTcpServer

func NewWsToTcpServer(ctx context.Context, addr string, port int) *WsToTcpServer

func (*WsToTcpServer) Serve

func (s *WsToTcpServer) Serve(staticFS embed.FS)

func (*WsToTcpServer) Shutdown

func (s *WsToTcpServer) Shutdown()

Jump to

Keyboard shortcuts

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