Documentation ¶
Index ¶
Constants ¶
View Source
const ( IDHeader = "tmprl-api-key-id" SecretHeader = "tmprl-api-secret-key" RequestSignatureHeader = "tmprl-request-signature" RequestSignatureAlgorithmHeader = "tmprl-request-signature-algorithm" RequestDatetimeHeader = "tmprl-request-datetime" DefaultRequestSignatureAlgorithm = "tmprl-hmac-sha256" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credential ¶
type Credential struct { ID string // contains filtered or unexported fields }
func NewCredential ¶
func NewCredential(keyID string, secret string, opts ...Option) (Credential, error)
func (Credential) GetRequestMetadata ¶
func (Credential) RequireTransportSecurity ¶
func (c Credential) RequireTransportSecurity() bool
Click to show internal directories.
Click to hide internal directories.