Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SignRequest ¶
SignRequest sign the request like the mobile app would do, using HMAC-SHA1 The return value must be used as the request URL
Before:
_, _ = http.NewRequest(http.MethodGet, getKeysEndpoint, nil)
After:
_, _ = http.NewRequest(http.MethodGet, SignRequest(getKeysEndpoint), nil)
Types ¶
type Creator ¶
type Creator struct {
// contains filtered or unexported fields
}
Creator is a new instance used to create an account
func (*Creator) RedeemCode ¶
Click to show internal directories.
Click to hide internal directories.