This commit is contained in:
cdle
2021-09-15 19:07:08 +08:00
parent aa3486c7e9
commit 3738ec952b
5 changed files with 33 additions and 7 deletions
+3
View File
@@ -9,6 +9,7 @@ import (
func init() {
AddCommand("", []Function{
{
Admin: true,
Rules: []string{"set ? ? ?"},
Handle: func(s im.Sender) interface{} {
b := Bucket(s.Get(0))
@@ -20,6 +21,7 @@ func init() {
},
},
{
Admin: true,
Rules: []string{"delete ? ?"},
Handle: func(s im.Sender) interface{} {
b := Bucket(s.Get(0))
@@ -31,6 +33,7 @@ func init() {
},
},
{
Admin: true,
Rules: []string{"get ? ?"},
Handle: func(s im.Sender) interface{} {
b := Bucket(s.Get(0))