Documentation
¶
Overview ¶
Package bouncer contains a OONI bouncer client implementation.
Specifically we implement v2.0.0 of the OONI bouncer specification defined in https://github.com/ooni/spec/blob/master/backends/bk-004-bouncer.md.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// BaseURL is the bouncer base URL.
BaseURL string
// HTTPClient is the HTTP client to use.
HTTPClient *http.Client
// Logger is the logger to use.
Logger model.Logger
// UserAgent is the user agent to use.
UserAgent string
}
Client is a client for the OONI bouncer API.
func (*Client) GetCollectors ¶
GetCollectors queries the bouncer for collectors. Returns a list of entries on success; an error on failure.
Click to show internal directories.
Click to hide internal directories.