Versions in this module Expand all Collapse all v1 v1.0.1 Oct 7, 2022 Changes in this version + const DefaultPort + func ReadUTFString(reader io.Reader) (string, error) + func ReadUnconnectedPong(reader *bufio.Reader, resp *Response) error + func WriteUnconnectedPing(writer io.Writer, timestamp uint64) error + func WriteUnconnectedPingPacket(conn net.Conn, timestamp uint64) error + type Response struct + Extra []string + GameID string + MCPEVersion string + MaxPlayers int + PlayerCount int + ProtocolVersion int + ServerID uint64 + ServerName string + Timestamp uint64 + func Query(network string, address string, timeout time.Duration, resend time.Duration) (Response, error)