diff options
author | Runxi Yu <me@runxiyu.org> | 2024-12-08 08:45:13 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2024-12-08 01:20:26 +0800 |
commit | d810d12355873d3eaf61ed3f7f0ae52db06c2c96 (patch) | |
tree | 5cfa6d11c31377b459b06f4e3399bcc0542c57d8 /cmd.go | |
parent | Slight refactor (diff) | |
download | meseircd-d810d12355873d3eaf61ed3f7f0ae52db06c2c96.tar.gz meseircd-d810d12355873d3eaf61ed3f7f0ae52db06c2c96.tar.zst meseircd-d810d12355873d3eaf61ed3f7f0ae52db06c2c96.zip |
Add basic command handling
Diffstat (limited to 'cmd.go')
-rw-r--r-- | cmd.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -0,0 +1,5 @@ +package main + +var commandHandlers = map[string](func(RMsg, *Client) (error)){} + +/* Maybe we should make command handlers return their values for easier labelled-reply? */ |