proxy

package
v0.0.0-...-da828be Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Manager = manager{
	// contains filtered or unexported fields
}

Functions

func RoutePacket

func RoutePacket(packet *proxy.Packet, client *Client)

RoutePacket routes a incoming packet to the correct handler based on the packet type

Types

type Client

type Client struct {
	Id          uuid.UUID
	ProxyClient *proxylib.ProxyClient
	MemberInfo  *proxcom.ChannelMember
}

func NewClient

func NewClient(proxyClient *proxylib.ProxyClient, memberInfo *proxcom.ChannelMember) *Client

NewClient creates a new client

func (*Client) ListenForIncomingPackets

func (client *Client) ListenForIncomingPackets()

listenForIncomingPackets listens for incoming packets from the client

Jump to

Keyboard shortcuts

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