Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
d1a5de82fe |
@@ -12,7 +12,7 @@ type Command struct {
|
||||
|
||||
// payload function type handling commands. The returned error is parsed and, if no error,
|
||||
// is detected then the response string (res) will be sent in response to the command message
|
||||
type Payload func(msg Message) (res string, err error)
|
||||
type Payload func(msg Message) (string, error)
|
||||
|
||||
// contains the basic information needed for a message command
|
||||
type Message struct {
|
||||
|
Reference in New Issue
Block a user