arednlink

package
v0.0.223 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2025 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command added in v0.0.223

type Command byte
const (
	CommandVersion        Command = 'V'
	CommandUpdateNames    Command = 'N'
	CommandUpdateServices Command = 'U'
	CommandSync           Command = 'S'
)

func (Command) String added in v0.0.223

func (c Command) String() string

type Message added in v0.0.223

type Message struct {
	Length  uint16
	Command Command
	Payload []byte
	Source  net.IP
	Hops    uint8
}

type Server

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

func NewServer

func NewServer() (*Server, error)

func (*Server) Stop

func (s *Server) Stop()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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