mcgorcon

package module
v0.0.0-...-f611ad0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2014 License: MIT Imports: 7 Imported by: 3

README

mcgorcon Build Status GoDoc

A Minecraft RCON Client in Go

Documentation

Overview

Package mcgorcon is a Minecraft RCON Client written in Go. It is designed to be easy to use and integrate into your own applications.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client is a representation of an RCON client.

func Dial

func Dial(host string, port int, pass string) (Client, error)

Dial up the server and establish a RCON conneciton.

func (*Client) SendCommand

func (c *Client) SendCommand(command string) (string, error)

SendCommand sends a command to the server and returns the result (often nothing).

Jump to

Keyboard shortcuts

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