()
| 399 | } |
| 400 | |
| 401 | func (c *AuthConfig) DefaultHost() (string, string) { |
| 402 | if c.defaultHostOverride != nil { |
| 403 | return c.defaultHostOverride() |
| 404 | } |
| 405 | return ghauth.DefaultHost() |
| 406 | } |
| 407 | |
| 408 | // SetDefaultHost will override any host resolution and return the given |
| 409 | // host and source for all calls to DefaultHost. Use for testing purposes only. |
nothing calls this directly
no test coverage detected