(host string)
| 642 | type legacyConfig map[string]string |
| 643 | |
| 644 | func (c legacyConfig) ActiveToken(host string) (string, string) { |
| 645 | return c[fmt.Sprintf("%s:%s", host, "oauth_token")], "oauth_token" |
| 646 | } |
| 647 | |
| 648 | func (c legacyConfig) HostForAPIHost(apiHost string) (string, bool) { |
| 649 | host, ok := c[fmt.Sprintf("%s:%s", "api_host", apiHost)] |
nothing calls this directly
no outgoing calls
no test coverage detected