Versions in this module Expand all Collapse all v0 v0.0.4 Jan 11, 2025 v0.0.3 Oct 25, 2024 Changes in this version + var TimeNow = time.Now + func EncodeAPIErrorToResponse(err APIError) []byte + func EncodeResponse(response interface{}) []byte + func ReloadKeys(pairs map[string]string) + func StoreKeys(pairs map[string]string) + type APIError struct + Code string + Description string + HTTPStatusCode int + func GetAPIError(errCode ErrorCode) APIError + type Credentials struct + AccessKey string + Claims map[string]interface{} + Expiration time.Time + Groups []string + ParentUser string + SecretKey string + SessionToken string + Status string + type ErrorCode int + const ErrNone + func ParseSignV4(v4Auth string) (sv signValues, err ErrorCode) + func V4SignVerify(r *http.Request) ErrorCode