rcon

package
v0.0.0-...-284c058 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: ISC Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const AUTH int32 = 3
View Source
const AUTH_RESPONSE int32 = 2
View Source
const EXECCOMMAND int32 = 2
View Source
const RESPONSE_VALUE int32 = 0

Variables

This section is empty.

Functions

func InitRcon

func InitRcon(conn net.Conn, password string) int32

Use when you have your own connection code

func RconInitConnection

func RconInitConnection(address, port, password string) (net.Conn, int32, error)

For when you don't want to write connection code

func RconRecieve

func RconRecieve(conn net.Conn) (int32, int32, string)

func RconSend

func RconSend(conn net.Conn, reqType int32, body string) int32

Types

This section is empty.

Jump to

Keyboard shortcuts

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