planet

package
v0.0.0-...-27fe9b7 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Planet

type Planet struct {
	Id uuid.UUID
	// contains filtered or unexported fields
}

func NewPlanet

func NewPlanet(conn net.Conn) *Planet

Used to create a NewPlanet noinspection GoUnusedFunction

func (*Planet) Conn

func (p *Planet) Conn() net.Conn

func (*Planet) ReadPacket

func (p *Planet) ReadPacket() (packet.Packet, error)

func (*Planet) WritePacket

func (p *Planet) WritePacket(pk packet.Packet) error

Jump to

Keyboard shortcuts

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