vendor update

This commit is contained in:
fatedier
2019-08-03 23:23:00 +08:00
parent 4e363eca2b
commit ee0df07a3c
19 changed files with 273 additions and 564 deletions

View File

@@ -295,7 +295,7 @@ A more complex authentication middleware, which maps session token to users, cou
r := mux.NewRouter()
r.HandleFunc("/", handler)
amw := authenticationMiddleware{}
amw := authenticationMiddleware{tokenUsers: make(map[string]string)}
amw.Populate()
r.Use(amw.Middleware)