Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Signer ¶
type Signer interface { GetName() string GetType() string GetVersion() string GetAccessKeyId() (string, error) GetExtraParam() map[string]string Sign(stringToSign, secretSuffix string) string Shutdown() }
Signer sign client token
func NewSignerWithCredential ¶
func NewSignerWithCredential(credential Credential, commonApi func(request *requests.CommonRequest, signer interface{}) (response *responses.CommonResponse, err error)) (signer Signer, err error)
NewSignerWithCredential create signer with credential
Source Files ¶
Click to show internal directories.
Click to hide internal directories.