| 8 | ) |
| 9 | |
| 10 | type AuthScheme interface { |
| 11 | Authorized(request *http.Request, response http.ResponseWriter) bool |
| 12 | } |
| 13 | |
| 14 | func LoadAuthSchemes(cfg map[string]config.AuthScheme) (map[string]AuthScheme, error) { |
| 15 | auths := map[string]AuthScheme{} |
no outgoing calls
no test coverage detected