123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- package auth
- import "net/http"
- type HandleFuncWrapper interface {
-
- SetAuthFunc(authFunc func(user, pass string) bool)
-
- HandleFunc(pattern string, handler func(http.ResponseWriter, *http.Request))
-
- CheckAuth(r *http.Request) (string, bool)
- }
|