ipswitch

package
v0.0.0-...-3019990 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPSwitch

type IPSwitch struct {
	AllowClientToClient bool
	// contains filtered or unexported fields
}

func MakeIPSwitch

func MakeIPSwitch() *IPSwitch

func (*IPSwitch) HandlePacket

func (g *IPSwitch) HandlePacket(socket *sockets.Socket, packet []byte) (bool, error)

func (*IPSwitch) RegisterSocket

func (g *IPSwitch) RegisterSocket(socket *sockets.Socket)

func (*IPSwitch) UnregisterSocket

func (g *IPSwitch) UnregisterSocket(socket *sockets.Socket)

Jump to

Keyboard shortcuts

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