Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeForm ¶
func EncodeForm(request interface{}) string
EncodeForm encodes a struct to a url.Values and returns a string with the encoded form.
func GenerateHMAC ¶
GenerateHMAC generates a HMAC with sha256 algorithm and returns a string with the signature.
func SortFields ¶
func SortFields(request interface{}) string
SortFields sorts the fields of a struct by the json tag and returns a string with the fields concatenated.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.