Documentation ¶
Index ¶
- type Mock
- func (m *Mock) AddGeneratedSignature(signature string)
- func (m *Mock) AddSignRequestResponse(req *request.Request, err error)
- func (m *Mock) AddSignURLResponse(url string, err error)
- func (m *Mock) GenerateSignature(r request.Interface, headersToSign []string) string
- func (m *Mock) SignRequest(r request.Interface, headersToSign []string) (*request.Request, error)
- func (m *Mock) SignedURLBy(httpMethod, urlToSign string, expires int) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mock ¶
type Mock struct {
// contains filtered or unexported fields
}
func (*Mock) AddGeneratedSignature ¶
func (*Mock) AddSignRequestResponse ¶
func (*Mock) AddSignURLResponse ¶
func (*Mock) GenerateSignature ¶
func (*Mock) SignRequest ¶
Click to show internal directories.
Click to hide internal directories.