Cleaning up dependencies.
This commit is contained in:
1 parent
b875313f7d
commit
0e3d4ec3a5
11 files changed
+31
-50
No files matched your search
+2
-4
@@ -7,7 +7,7 @@ import (
|
||||
"vppn/hub/api"
|
||||
"vppn/hub/errs"
|
||||
|
||||
"git.crumpington.com/lib/go/webutil"
|
||||
"git.crumpington.com/lib/webutil"
|
||||
)
|
||||
|
||||
type handlerFunc func(s *api.Session, w http.ResponseWriter, r *http.Request) error
|
||||
@@ -29,9 +29,7 @@ func (app *App) handlePub(pattern string, fn handlerFunc) {
|
||||
}
|
||||
}
|
||||
|
||||
app.mux.HandleFunc(pattern,
|
||||
webutil.WithLogging(
|
||||
wrapped))
|
||||
app.mux.HandleFunc(pattern, wrapped)
|
||||
}
|
||||
|
||||
func (app *App) handleNotSignedIn(pattern string, fn handlerFunc) {
|
||||
|
||||
Reference in new issue
Block a user