(client *http.Client, hostname string, opts *StatusOptions)
| 188 | } |
| 189 | |
| 190 | func NewStatusGetter(client *http.Client, hostname string, opts *StatusOptions) *StatusGetter { |
| 191 | return &StatusGetter{ |
| 192 | Client: client, |
| 193 | Org: opts.Org, |
| 194 | Exclude: opts.Exclude, |
| 195 | cachedClient: opts.CachedClient, |
| 196 | host: hostname, |
| 197 | } |
| 198 | } |
| 199 | |
| 200 | func (s *StatusGetter) hostname() string { |
| 201 | return s.host |