mirror of
https://github.com/hamburghammer/grcon.git
synced 2024-05-13 06:34:37 +02:00
Augusto Dwenger J.
1cda9ca591
Initially it was the idea that this would be version 2 of the https://github.com/hamburghammer/rcon lib but I changed my mind and decided to make a new Project out of it. It has formally nothing to do with the original lib.
12 lines
263 B
Go
12 lines
263 B
Go
package util
|
|
|
|
import "github.com/hamburghammer/grcon"
|
|
|
|
// RemoteConsole is an interface that the grcon.RemoteConsole struct implements.
|
|
type RemoteConsole interface {
|
|
// Read a packet
|
|
Read() (grcon.Packet, error)
|
|
// Write a packet
|
|
Write(grcon.Packet) error
|
|
}
|