Documentation ¶
Index ¶
- type QingStorSigner
- func (qss *QingStorSigner) BuildQuerySignature(request *http.Request, expires int) (string, error)
- func (qss *QingStorSigner) BuildQueryStringToSign(request *http.Request, expires int) (string, error)
- func (qss *QingStorSigner) BuildSignature(request *http.Request) (string, error)
- func (qss *QingStorSigner) BuildStringToSign(request *http.Request) (string, error)
- func (qss *QingStorSigner) WriteQuerySignature(request *http.Request, expires int) error
- func (qss *QingStorSigner) WriteSignature(request *http.Request) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QingStorSigner ¶
QingStorSigner is the http request signer for QingStor service.
func (*QingStorSigner) BuildQuerySignature ¶
BuildQuerySignature calculates the signature string for query.
func (*QingStorSigner) BuildQueryStringToSign ¶
func (qss *QingStorSigner) BuildQueryStringToSign(request *http.Request, expires int) (string, error)
BuildQueryStringToSign build the string to sign for query.
func (*QingStorSigner) BuildSignature ¶
func (qss *QingStorSigner) BuildSignature(request *http.Request) (string, error)
BuildSignature calculates the signature string.
func (*QingStorSigner) BuildStringToSign ¶
func (qss *QingStorSigner) BuildStringToSign(request *http.Request) (string, error)
BuildStringToSign build the string to sign.
func (*QingStorSigner) WriteQuerySignature ¶
func (qss *QingStorSigner) WriteQuerySignature(request *http.Request, expires int) error
WriteQuerySignature calculates signature and write it to http request url.
func (*QingStorSigner) WriteSignature ¶
func (qss *QingStorSigner) WriteSignature(request *http.Request) error
WriteSignature calculates signature and write it to http request header.
Click to show internal directories.
Click to hide internal directories.