spectrum

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 18 Imported by: 0

README

SpectrumDF

SpectrumDF is an implementation of the Spectrum proxy for Dragonfly servers.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(addr string) (*Client, error)

func (*Client) Close

func (c *Client) Close() error

func (*Client) WritePacket

func (c *Client) WritePacket(pk packet.Packet) error

type Listener

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

func NewListener

func NewListener(addr string) (Listener, error)

func (Listener) Accept

func (l Listener) Accept() (session.Conn, error)

Accept ...

func (Listener) Close

func (l Listener) Close() error

Close ...

func (Listener) Disconnect

func (l Listener) Disconnect(conn session.Conn, _ string) error

Disconnect ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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