Authenticator stub
| 29 | |
| 30 | // Authenticator stub |
| 31 | type Authenticator interface { |
| 32 | Type() string |
| 33 | User() string |
| 34 | Pass() string |
| 35 | Authorize(*http.Request, string, string) |
| 36 | } |
| 37 | |
| 38 | // NoAuth structure holds our credentials |
| 39 | type NoAuth struct { |
no outgoing calls
no test coverage detected