mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-19 23:11:25 +02:00
fixed api, fixed ListFiles function
This commit is contained in:
@@ -20,6 +20,10 @@ func Get(name string) (middleware *Middleware, ok bool) {
|
||||
return
|
||||
}
|
||||
|
||||
func All() map[string]*Middleware {
|
||||
return middlewares
|
||||
}
|
||||
|
||||
// initialize middleware names and label parsers
|
||||
func init() {
|
||||
middlewares = map[string]*Middleware{
|
||||
|
||||
Reference in New Issue
Block a user