Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SigningKeyCache = map[string][]byte{}
Functions ¶
Types ¶
type Credential ¶
type Credential interface { }
type Signer ¶
type Signer interface { GetName() string // 签名算法名称 GetAccessKeyId() (accessKeyId string, err error) // 签名access key GetSecretKey() (secretKey string, err error) // access secret Sign(stringToSign, secretSuffix string) string // 生成签名结果 }
func NewSignerWithCredential ¶
func NewSignerWithCredential(credential Credential) (signer Signer, err error)
Click to show internal directories.
Click to hide internal directories.