Documentation ¶
Overview ¶
Package request is used for internal. You should not depend on it directly, breaking changes can and will be introducted to it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonRequest ¶
type CommonRequest struct { Scheme string Method string Domain string RegionId string URL string ReadTimeout time.Duration ConnectTimeout time.Duration BodyParams map[string]string QueryParams map[string]string Headers map[string]string // contains filtered or unexported fields }
CommonRequest is for requesting credential
func NewCommonRequest ¶
func NewCommonRequest() *CommonRequest
NewCommonRequest returns a CommonRequest
func (*CommonRequest) BuildStringToSign ¶
func (request *CommonRequest) BuildStringToSign() (stringToSign string)
BuildStringToSign returns BuildStringToSign
func (*CommonRequest) BuildURL ¶
func (request *CommonRequest) BuildURL() string
BuildURL returns a url
Click to show internal directories.
Click to hide internal directories.