unexport request, response methods

This commit is contained in:
2026-02-19 00:25:47 +00:00
parent f74fbedacc
commit b1161e1e97
3 changed files with 9 additions and 9 deletions

View File

@@ -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")
}