0x4a52466c696e74 1 year ago
parent
commit
60a75ab9f1
1 changed files with 8 additions and 0 deletions
  1. 8 0
      request.go

+ 8 - 0
request.go

@@ -68,6 +68,14 @@ func (s *Request) IsAuth() bool {
 	return s.auth != nil
 }
 
+func (s *Request) Command() string {
+	return s.command
+}
+
+func (s *Request) Auth() json.Map {
+	return s.auth
+}
+
 func (s *Request) Data() json.Map {
 	return s.data
 }