Documentation ¶
Index ¶
- type Request
- func (r *Request) ApplyQuerySignature(accessKeyID string, expires int, signature string) error
- func (r *Request) ApplySignature(authorization string) error
- func (r *Request) Build() error
- func (r *Request) Do() error
- func (r *Request) Send() error
- func (r *Request) Sign() error
- func (r *Request) SignQuery(timeoutSeconds int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct { Operation *data.Operation Input *reflect.Value Output *reflect.Value HTTPRequest *http.Request HTTPResponse *http.Response }
A Request can build, sign, send and unpack API request.
func (*Request) ApplyQuerySignature ¶
ApplyQuerySignature applies the query signature. It returns error if error occurred.
func (*Request) ApplySignature ¶
ApplySignature applies the Authorization header. It returns error if error occurred.
func (*Request) Build ¶
Build checks and builds the API request. It returns error if error occurred.
Click to show internal directories.
Click to hide internal directories.