Documentation
¶
Index ¶
Constants ¶
View Source
const RECV_WINDOW int64 = 0
Variables ¶
This section is empty.
Functions ¶
func GenerateHash ¶
Returns SHA256 HMAC hash needed for sending requests
func GenerateQuery ¶
Generates an unsorted query from a string[string] map, includes receive window, current timestamp and a signature from the included secret key.
Types ¶
type HTTPClient ¶
type HTTPClient struct {
// contains filtered or unexported fields
}
func New ¶
func New(url, apikey, secretkey string) *HTTPClient
type NotImplementedError ¶
type NotImplementedError struct {
// contains filtered or unexported fields
}
func (*NotImplementedError) Error ¶
func (e *NotImplementedError) Error() string
Click to show internal directories.
Click to hide internal directories.