mirror of
https://github.com/onyx-and-iris/q3rcon.git
synced 2026-04-18 07:43:31 +00:00
unexport request, response methods
This commit is contained in:
@@ -23,7 +23,7 @@ func newRequest(password string) request {
|
||||
}
|
||||
}
|
||||
|
||||
func (r request) Encode(cmd string) ([]byte, error) {
|
||||
func (r request) encode(cmd string) ([]byte, error) {
|
||||
if cmd == "" {
|
||||
return nil, errors.New("command cannot be empty")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user