Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // RxAPIKey is the regexp a valid API key should match. RxAPIKey = regexp.MustCompile("^[A-Za-z0-9]{22}$") )
Functions ¶
This section is empty.
Types ¶
type RestV1Client ¶
type RestV1Client struct {
// contains filtered or unexported fields
}
RestV1Client is a client for RestV1 servers.
func NewRestV1Client ¶
func NewRestV1Client(base string, timeout time.Duration, retries int) *RestV1Client
NewRestV1Client creates a new client to talk to the specified base URL and with the given timeout.
Click to show internal directories.
Click to hide internal directories.