mirror of
https://github.com/hamburghammer/grcon.git
synced 2024-05-10 05:15:27 +02:00
11 lines
379 B
Go
11 lines
379 B
Go
// Package client provides some implementations to interact over RCON with different servers.
|
|
package client
|
|
|
|
// Client is the interface that should be implemented by ever client type.
|
|
type Client interface {
|
|
// Auth authenticates the client against the server.
|
|
Auth(password string) error
|
|
// Exec executes a command on the remote console.
|
|
Exec(cmd string) ([]byte, error)
|
|
}
|