feat: updated filters, implemented fluent api for message filter
This commit is contained in:
1 parent
bec2cfd017
commit
fbf716c7bc
2 files changed
+64
-52
No files matched your search
@@ -7,8 +7,6 @@ import (
|
||||
|
||||
type Middleware func(next HandlerFunc) HandlerFunc
|
||||
|
||||
type Filter func(c *mcontext.Context) bool
|
||||
|
||||
type route struct {
|
||||
h UpdateHandler
|
||||
filters []func(c *mcontext.Context) bool
|
||||
|
||||
Reference in new issue
Block a user