Documentation ¶
Index ¶
Constants ¶
View Source
const ( UNKNOWN = "?" PATCH_SERVER = "PATCH" DATA_SERVER = "DATA" LOGIN_SERVER = "LOGIN" CHARACTER_SERVER = "CHARACTER" SHIP_SERVER = "SHIP" BLOCK_SERVER = "BLOCK" )
View Source
const PacketLineLength = 16
Variables ¶
View Source
var (
SERVER_TYPE = "server_type"
)
Functions ¶
func PrintPacket ¶
func PrintPacket(params PrintPacketParams)
PrintPacket prints the contents of a packet to a specified writer along with some inferred metadata about the packet itself.
func StartPprofServer ¶
This function starts the default pprof HTTP server that can be accessed via localhost to get runtime information about archon. See https://golang.org/pkg/net/http/pprof/
Types ¶
type PrintPacketParams ¶
type ServerType ¶
type ServerType string
Click to show internal directories.
Click to hide internal directories.