ping

package
v0.0.0-...-93368d4 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package ping implements server list ping of Minecraft Protocol.

Many, many thanks to #mcdevs from Freenode and it's great documentation: http://wiki.vg/Server_List_Ping

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ping

func Ping(s []string) *packet.Disconnect

Ping returns a 0xFF packet ready to be sent (written to an io.Writer) as response to a 0xFE (ServerListPing) packet.

func Prepare

func Prepare(motd, in, max string) []string

Prepare returns a ServerListPing-able string ready to be sent over the wire.

Types

This section is empty.

Jump to

Keyboard shortcuts

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