14 lines
413 B
Go
14 lines
413 B
Go
|
package ooapi
|
||
|
|
||
|
// Client is a client for speaking with the OONI API. Make sure you
|
||
|
// fill in the mandatory fields.
|
||
|
type Client struct {
|
||
|
BaseURL string // optional
|
||
|
GobCodec GobCodec // optional
|
||
|
HTTPClient HTTPClient // optional
|
||
|
JSONCodec JSONCodec // optional
|
||
|
KVStore KVStore // mandatory
|
||
|
RequestMaker RequestMaker // optional
|
||
|
UserAgent string // optional
|
||
|
}
|