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