Documentation ¶
Index ¶
- func CreateHeadersString(headers map[string]string) string
- func CreateQueryString(queryParams QueryParams) string
- func HMAC(key []byte, text string) []byte
- func MergeMaps(m1 map[string]string, m2 map[string]string) map[string]string
- func SHA256(text string) string
- type APII
- type DateProvier
- type QueryParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateHeadersString ¶
Build from headers map the string with headers line by line
func CreateQueryString ¶
func CreateQueryString(queryParams QueryParams) string
Build from QueryParams the URI encoded string
Types ¶
type APII ¶
type APII interface { // Return an enpoint url signed GetSignedURL(endpoint string, queryParams QueryParams, date *time.Time) (string, error) }
Signer API provides an interface to enable AWS Signature
type DateProvier ¶
func (*DateProvier) GetDate ¶
func (d *DateProvier) GetDate() *time.Time
GetDate using config offset
Click to show internal directories.
Click to hide internal directories.