]> 127.0.0.1 Git - part/.git/commitdiff
fix v0.21.7
authorqydysky <32743305+qydysky@users.noreply.github.com>
Wed, 18 Jan 2023 16:48:26 +0000 (00:48 +0800)
committerqydysky <32743305+qydysky@users.noreply.github.com>
Wed, 18 Jan 2023 16:48:26 +0000 (00:48 +0800)
msgq/Msgq.go

index b30eca41d682e41a1c841de318469568424e20e6..77d0418d3193cf80a07b6946a202f04869e4e6ad 100644 (file)
@@ -10,6 +10,8 @@ type Msgq struct {
        sync.RWMutex
 }
 
+type FuncMap map[string]func(any) (disable bool)
+
 func New() *Msgq {
        m := new(Msgq)
        m.funcs = list.New()