Documentation ¶
Index ¶
- Constants
- Variables
- func NowForce(t time.Time)
- func NowReset()
- type Address
- type ApiVersion
- type AuthorisationState
- type AuthorizationDetails
- type AuthorizationStatus
- type Authorize
- type AuthorizeResponse
- type AuthorizeResult
- type BillingAgreementAttributes
- type BillingAgreementDetails
- type BillingAgreementLimits
- type BillingAgreementState
- type BillingAgreementStatus
- type Buyer
- type CancelOrderReference
- type CancelOrderReferenceResponse
- type Capture
- type CaptureDetails
- type CaptureResponse
- type CaptureResult
- type CaptureState
- type CaptureStatus
- type CloseAuthorization
- type CloseAuthorizationResponse
- type CloseOrderReference
- type CloseOrderReferenceResponse
- type ConfirmOrderReference
- type ConfirmOrderReferenceResponse
- type Constraint
- type CreateOrderReferenceForId
- type CreateOrderReferenceForIdResponse
- type CreateOrderReferenceForIdResult
- type Destination
- type Environment
- type Error
- type ErrorResponse
- type GetAuthorizationDetails
- type GetAuthorizationDetailsResponse
- type GetAuthorizationDetailsResult
- type GetCaptureDetails
- type GetCaptureDetailsResponse
- type GetCaptureDetailsResult
- type GetMerchantAccountStatus
- type GetMerchantAccountStatusResponse
- type GetMerchantAccountStatusResult
- type GetOrderReferenceDetails
- type GetOrderReferenceDetailsResponse
- type GetOrderReferenceDetailsResult
- type GetRefundDetails
- type GetRefundDetailsResponse
- type GetRefundDetailsResult
- type GetServiceStatus
- type GetServiceStatusResponse
- type GetServiceStatusResult
- type Message
- type MockRequest
- type MockSignatory
- type OrderAttributes
- type OrderReferenceAttributes
- type OrderReferenceDetails
- type OrderReferenceState
- type OrderReferenceStatus
- type OrderTotal
- type PayWithAmazon
- func (pwa PayWithAmazon) Authorize(amazonOrderReferenceId string, authorizationReferenceId string, ...) (*AuthorizeResponse, error)
- func (pwa PayWithAmazon) CancelOrderReference(amazonOrderReferenceId, cancelationReason string) (*CancelOrderReferenceResponse, error)
- func (pwa PayWithAmazon) Capture(amazonAuthorizationId string, captureReferenceId string, captureAmount Price, ...) (*CaptureResponse, error)
- func (pwa PayWithAmazon) CloseAuthorization(amazonAuthorizationId, closureReason string) (*CloseAuthorizationResponse, error)
- func (pwa PayWithAmazon) CloseOrderReference(amazonOrderReferenceId, closureReason string) (*CloseOrderReferenceResponse, error)
- func (pwa PayWithAmazon) ConfirmOrderReference(amazonOrderReferenceId string) (*ConfirmOrderReferenceResponse, error)
- func (pwa PayWithAmazon) CreateOrderReferenceForId(id string, idType string, inheritShippingAddress bool, confirmNow bool, ...) (*CreateOrderReferenceForIdResponse, error)
- func (pwa PayWithAmazon) Do(amazonReq Request, response interface{}) error
- func (pwa PayWithAmazon) GetAuthorizationDetails(amazonAuthorizationId string) (*GetAuthorizationDetailsResponse, error)
- func (pwa PayWithAmazon) GetCaptureDetails(amazonCaptureId string) (*GetCaptureDetailsResponse, error)
- func (pwa PayWithAmazon) GetMerchantAccountStatus(sellerId string) (*GetMerchantAccountStatusResponse, error)
- func (pwa PayWithAmazon) GetOrderReferenceDetails(amazonOrderReferenceId, addressConsentToken string) (*GetOrderReferenceDetailsResponse, error)
- func (pwa PayWithAmazon) GetRefundDetails(amazonRefundId string) (*GetRefundDetailsResponse, error)
- func (pwa PayWithAmazon) GetServiceStatus() (*GetServiceStatusResponse, error)
- func (pwa *PayWithAmazon) HandleThrottling(shouldHandleThrottling bool)
- func (pwa PayWithAmazon) Refund(amazonCaptureId string, refundReferenceId string, refundAmount Price, ...) (*RefundResponse, error)
- func (pwa PayWithAmazon) SetOrderAttributes(amazonOrderReferenceId string, orderAttributes OrderAttributes) (*SetOrderAttributesResponse, error)
- func (pwa PayWithAmazon) SetOrderReferenceDetails(amazonOrderReferenceId string, ...) (*SetOrderReferenceDetailsResponse, error)
- type PaymentServiceProviderAttributes
- type Price
- type Refund
- type RefundDetails
- type RefundResponse
- type RefundResult
- type RefundState
- type RefundStatus
- type Region
- type Request
- type ResponseMetadata
- type SellerBillingAgreementAttributes
- type SellerOrderAttributes
- type SetOrderAttributes
- type SetOrderAttributesResponse
- type SetOrderAttributesResult
- type SetOrderReferenceDetails
- type SetOrderReferenceDetailsResponse
- type SetOrderReferenceDetailsResult
- type Signatory
- type StatusCommon
- type V2Hmac256Signatory
Constants ¶
const ( UserAgent = "Go_PayWithAmazon" Version = "0.0.1" )
Variables ¶
var BackoffDurations = []time.Duration{ 0 * time.Second, 1 * time.Second, 4 * time.Second, 10 * time.Second, }
var Now = func() time.Time { return time.Now() }
Functions ¶
Types ¶
type AuthorisationState ¶
type AuthorisationState string
const ( AuthStatePending AuthorisationState = "Pending" AuthStateOpen AuthorisationState = "Open" AuthStateDeclined AuthorisationState = "Declined" AuthStateClosed AuthorisationState = "Closed" )
type AuthorizationDetails ¶
type AuthorizationDetails struct { AmazonAuthorizationId string AuthorizationBillingAddress Address AuthorizationReferenceId string SellerAuthorizationNote string AuthorizationAmount Price CapturedAmount Price AuthorizationFee Price IdList []string CreationTimestamp time.Time ExpirationTimestamp time.Time AuthorizationStatus AuthorizationStatus SoftDecline bool CaptureNow bool SoftDescriptor string }
type AuthorizationStatus ¶
type AuthorizationStatus struct { State AuthorisationState StatusCommon }
type Authorize ¶
type Authorize struct { AmazonOrderReferenceId string AuthorizationReferenceId string AuthorizationAmount Price SellerAuthorizationNote string TransactionTimeout uint CaptureNow bool SoftDescriptor string }
See: https://payments.amazon.co.uk/developer/documentation/apireference/201752010
type AuthorizeResponse ¶
type AuthorizeResponse struct { Result *AuthorizeResult `xml:"AuthorizeResult"` Metadata ResponseMetadata `xml:"ResponseMetadata"` }
type AuthorizeResult ¶
type AuthorizeResult struct {
AuthorizationDetails AuthorizationDetails
}
type BillingAgreementAttributes ¶
type BillingAgreementAttributes struct { PlatformId string SellerNote string SellerBillingAgreementAttributes SellerBillingAgreementAttributes }
type BillingAgreementDetails ¶
type BillingAgreementDetails struct { AmazonBillingAgreementId string BillingAddress Address SellerNote string PlatformId string ReleaseEnvironment string Constraints []Constraint CreationTimestamp time.Time BillingAgreementConsent bool Buyer Buyer Destination Destination BillingAgreementLimits BillingAgreementLimits BillingAgreementStatus BillingAgreementStatus SellerBillingAgreementAttributes SellerBillingAgreementAttributes }
type BillingAgreementLimits ¶
type BillingAgreementState ¶
type BillingAgreementState string
const ( BillAgreeStateDraft BillingAgreementState = "Draft" BillAgreeStateOpen BillingAgreementState = "Open" BillAgreeStateSuspended BillingAgreementState = "Suspended" BillAgreeStateCanceled BillingAgreementState = "Canceled" BillAgreeStateClosed BillingAgreementState = "Closed" )
type BillingAgreementStatus ¶
type BillingAgreementStatus struct { State BillingAgreementState LastUpdatedTimestamp time.Time ReasonCode string ReasonDescription string }
type CancelOrderReference ¶
See: https://payments.amazon.co.uk/developer/documentation/apireference/201751990
func (CancelOrderReference) Action ¶
func (req CancelOrderReference) Action() string
type CancelOrderReferenceResponse ¶
type CancelOrderReferenceResponse struct {
Metadata ResponseMetadata `xml:"ResponseMetadata"`
}
type Capture ¶
type Capture struct { AmazonAuthorizationId string CaptureReferenceId string CaptureAmount Price SellerCaptureNote string SoftDescriptor string }
See: https://payments.amazon.co.uk/developer/documentation/apireference/201752040
type CaptureDetails ¶
type CaptureDetails struct { AmazonCaptureId string CaptureReferenceId string SellerCaptureNote string CaptureAmount Price RefundedAmount Price CaptureFee Price IdList []string CreationTimestamp time.Time CaptureStatus CaptureStatus SoftDescriptor string ConvertedAmount Price ConversionRate string }
type CaptureResponse ¶
type CaptureResponse struct { Result *CaptureResult `xml:"CaptureResult"` Metadata ResponseMetadata `xml:"ResponseMetadata"` }
type CaptureResult ¶
type CaptureResult struct {
CaptureDetails CaptureDetails
}
type CaptureState ¶
type CaptureState string
const ( CaptureStatePending CaptureState = "Pending" CaptureStateDeclined CaptureState = "Declined" CaptureStateCompleted CaptureState = "Completed" CaptureStateClosed CaptureState = "Closed" )
type CaptureStatus ¶
type CaptureStatus struct { State CaptureState StatusCommon }
type CloseAuthorization ¶
See: https://payments.amazon.co.uk/developer/documentation/apireference/201752070
func (CloseAuthorization) Action ¶
func (req CloseAuthorization) Action() string
type CloseAuthorizationResponse ¶
type CloseAuthorizationResponse struct {
Metadata ResponseMetadata `xml:"ResponseMetadata"`
}
type CloseOrderReference ¶
See: https://payments.amazon.co.uk/developer/documentation/apireference/201752000
func (CloseOrderReference) Action ¶
func (req CloseOrderReference) Action() string
type CloseOrderReferenceResponse ¶
type CloseOrderReferenceResponse struct {
Metadata ResponseMetadata `xml:"ResponseMetadata"`
}
type ConfirmOrderReference ¶
type ConfirmOrderReference struct {
AmazonOrderReferenceId string
}
See: https://payments.amazon.co.uk/developer/documentation/apireference/201751980
func (ConfirmOrderReference) Action ¶
func (req ConfirmOrderReference) Action() string
type ConfirmOrderReferenceResponse ¶
type ConfirmOrderReferenceResponse struct {
Metadata ResponseMetadata `xml:"ResponseMetadata"`
}
type Constraint ¶
type CreateOrderReferenceForId ¶
type CreateOrderReferenceForId struct { Id string IdType string InheritShippingAddress bool ConfirmNow bool OrderReferenceAttributes OrderReferenceAttributes }
See: https://payments.amazon.co.uk/developer/documentation/apireference/201751670
func (CreateOrderReferenceForId) Action ¶
func (req CreateOrderReferenceForId) Action() string
type CreateOrderReferenceForIdResponse ¶
type CreateOrderReferenceForIdResponse struct { Result *CreateOrderReferenceForIdResult `xml:"CreateOrderReferenceForIdResult"` Metadata ResponseMetadata `xml:"ResponseMetadata"` }
type CreateOrderReferenceForIdResult ¶
type CreateOrderReferenceForIdResult struct {
OrderReferenceDetails OrderReferenceDetails
}
type Destination ¶
type Environment ¶
type Environment string
const ( Sandbox Environment = "/OffAmazonPayments_Sandbox" Live Environment = "/OffAmazonPayments" )
type ErrorResponse ¶
type ErrorResponse struct { StatusCode int `xml:"-"` Errors []Error `xml:"Error"` RequestID string }
For error format see: http://docs.developer.amazonservices.com/en_US/dev_guide/DG_ResponseFormat.html For possible error codes see: https://payments.amazon.co.uk/developer/documentation/apireference/201753060
func (ErrorResponse) Error ¶
func (e ErrorResponse) Error() string
type GetAuthorizationDetails ¶
type GetAuthorizationDetails struct {
AmazonAuthorizationId string
}
See: https://payments.amazon.co.uk/developer/documentation/apireference/201752030
func (GetAuthorizationDetails) Action ¶
func (req GetAuthorizationDetails) Action() string
type GetAuthorizationDetailsResponse ¶
type GetAuthorizationDetailsResponse struct { Result *GetAuthorizationDetailsResult `xml:"GetAuthorizationDetailsResult"` Metadata ResponseMetadata `xml:"ResponseMetadata"` }
type GetAuthorizationDetailsResult ¶
type GetAuthorizationDetailsResult struct {
AuthorizationDetails AuthorizationDetails
}
type GetCaptureDetails ¶
type GetCaptureDetails struct {
AmazonCaptureId string
}
See: https://payments.amazon.co.uk/developer/documentation/apireference/201752060
func (GetCaptureDetails) Action ¶
func (req GetCaptureDetails) Action() string
type GetCaptureDetailsResponse ¶
type GetCaptureDetailsResponse struct { Result *GetCaptureDetailsResult `xml:"GetCaptureDetailsResult"` Metadata ResponseMetadata `xml:"ResponseMetadata"` }
type GetCaptureDetailsResult ¶
type GetCaptureDetailsResult struct {
CaptureDetails CaptureDetails
}
type GetMerchantAccountStatus ¶
type GetMerchantAccountStatus struct {
SellerId string
}
See: https://pay.amazon.com/uk/developer/documentation/apireference/82TPMDNUCGPGUK8
func (GetMerchantAccountStatus) Action ¶
func (req GetMerchantAccountStatus) Action() string
type GetMerchantAccountStatusResponse ¶
type GetMerchantAccountStatusResponse struct { Result *GetMerchantAccountStatusResult `xml:"GetMerchantAccountStatusResult"` Metadata ResponseMetadata `xml:"ResponseMetadata"` }
type GetMerchantAccountStatusResult ¶
type GetMerchantAccountStatusResult struct {
AccountStatus string
}
type GetOrderReferenceDetails ¶
See: https://payments.amazon.co.uk/developer/documentation/apireference/201751970
func (GetOrderReferenceDetails) Action ¶
func (req GetOrderReferenceDetails) Action() string
type GetOrderReferenceDetailsResponse ¶
type GetOrderReferenceDetailsResponse struct { Result *GetOrderReferenceDetailsResult `xml:"GetOrderReferenceDetailsResult"` Metadata ResponseMetadata `xml:"ResponseMetadata"` }
type GetOrderReferenceDetailsResult ¶
type GetOrderReferenceDetailsResult struct {
OrderReferenceDetails OrderReferenceDetails
}
type GetRefundDetails ¶
type GetRefundDetails struct {
AmazonRefundId string
}
See: https://payments.amazon.co.uk/developer/documentation/apireference/201752100
func (GetRefundDetails) Action ¶
func (req GetRefundDetails) Action() string
type GetRefundDetailsResponse ¶
type GetRefundDetailsResponse struct { Result *GetRefundDetailsResult `xml:"GetRefundDetailsResult"` Metadata ResponseMetadata `xml:"ResponseMetadata"` }
type GetRefundDetailsResult ¶
type GetRefundDetailsResult struct {
RefundDetails RefundDetails
}
type GetServiceStatus ¶
type GetServiceStatus struct{}
See: https://payments.amazon.co.uk/developer/documentation/apireference/201752110
func (GetServiceStatus) Action ¶
func (req GetServiceStatus) Action() string
type GetServiceStatusResponse ¶
type GetServiceStatusResponse struct { Result *GetServiceStatusResult `xml:"GetServiceStatusResult"` Metadata ResponseMetadata `xml:"ResponseMetadata"` }
type GetServiceStatusResult ¶
type MockRequest ¶
MockRequest is an autogenerated mock type for the Request type
func (*MockRequest) Action ¶
func (_m *MockRequest) Action() string
Action provides a mock function with given fields:
type MockSignatory ¶
MockSignatory is an autogenerated mock type for the Signatory type
func (*MockSignatory) Method ¶
func (_m *MockSignatory) Method() string
Method provides a mock function with given fields:
func (*MockSignatory) Sign ¶
func (_m *MockSignatory) Sign(_a0 string) []byte
Sign provides a mock function with given fields: _a0
func (*MockSignatory) Version ¶
func (_m *MockSignatory) Version() string
Version provides a mock function with given fields:
type OrderAttributes ¶
type OrderAttributes struct { OrderTotal OrderTotal PlatformID string SellerNote string SellerOrderAttributes SellerOrderAttributes PaymentServiceProviderAttributes PaymentServiceProviderAttributes }
type OrderReferenceAttributes ¶
type OrderReferenceAttributes struct { PlatformId string SellerNote string OrderTotal OrderTotal SellerOrderAttributes SellerOrderAttributes }
type OrderReferenceDetails ¶
type OrderReferenceDetails struct { AmazonOrderReferenceId string SellerNote string PlatformId string ReleaseEnvironment string OrderLanguage string CreationTimestamp time.Time ExpirationTimestamp time.Time BillingAddress Address Constraints []Constraint IdList []string Buyer Buyer OrderTotal OrderTotal Destination Destination OrderReferenceStatus OrderReferenceStatus SellerOrderAttributes SellerOrderAttributes }
type OrderReferenceState ¶
type OrderReferenceState string
const ( OrderRefStateDraft OrderReferenceState = "Draft" OrderRefStateOpen OrderReferenceState = "Open" OrderRefStateSuspended OrderReferenceState = "Suspended" OrderRefStateCanceled OrderReferenceState = "Canceled" OrderRefStateClosed OrderReferenceState = "Closed" )
type OrderReferenceStatus ¶
type OrderReferenceStatus struct { State OrderReferenceState LastUpdateTimestamp time.Time ReasonCode string ReasonDescription string }
type OrderTotal ¶
type PayWithAmazon ¶
type PayWithAmazon struct { AccessKeyID string SellerID string HttpClient *http.Client Signatory Signatory Endpoint *url.URL ApiVersion ApiVersion // contains filtered or unexported fields }
func New ¶
func New(sellerID, accessKeyID, accessKeySecret string, region Region, environment Environment) *PayWithAmazon
func (PayWithAmazon) Authorize ¶
func (pwa PayWithAmazon) Authorize( amazonOrderReferenceId string, authorizationReferenceId string, authorizationAmount Price, sellerAuthorizationNote string, transactionTimeout uint, captureNow bool, softDescriptor string, ) (*AuthorizeResponse, error)
func (PayWithAmazon) CancelOrderReference ¶
func (pwa PayWithAmazon) CancelOrderReference(amazonOrderReferenceId, cancelationReason string) (*CancelOrderReferenceResponse, error)
func (PayWithAmazon) Capture ¶
func (pwa PayWithAmazon) Capture( amazonAuthorizationId string, captureReferenceId string, captureAmount Price, sellerCaptureNote string, softDescriptor string, ) (*CaptureResponse, error)
func (PayWithAmazon) CloseAuthorization ¶
func (pwa PayWithAmazon) CloseAuthorization(amazonAuthorizationId, closureReason string) (*CloseAuthorizationResponse, error)
func (PayWithAmazon) CloseOrderReference ¶
func (pwa PayWithAmazon) CloseOrderReference(amazonOrderReferenceId, closureReason string) (*CloseOrderReferenceResponse, error)
func (PayWithAmazon) ConfirmOrderReference ¶
func (pwa PayWithAmazon) ConfirmOrderReference(amazonOrderReferenceId string) (*ConfirmOrderReferenceResponse, error)
func (PayWithAmazon) CreateOrderReferenceForId ¶
func (pwa PayWithAmazon) CreateOrderReferenceForId( id string, idType string, inheritShippingAddress bool, confirmNow bool, orderReferenceAttributes OrderReferenceAttributes, ) (*CreateOrderReferenceForIdResponse, error)
func (PayWithAmazon) Do ¶
func (pwa PayWithAmazon) Do(amazonReq Request, response interface{}) error
func (PayWithAmazon) GetAuthorizationDetails ¶
func (pwa PayWithAmazon) GetAuthorizationDetails(amazonAuthorizationId string) (*GetAuthorizationDetailsResponse, error)
func (PayWithAmazon) GetCaptureDetails ¶
func (pwa PayWithAmazon) GetCaptureDetails(amazonCaptureId string) (*GetCaptureDetailsResponse, error)
func (PayWithAmazon) GetMerchantAccountStatus ¶
func (pwa PayWithAmazon) GetMerchantAccountStatus(sellerId string) (*GetMerchantAccountStatusResponse, error)
func (PayWithAmazon) GetOrderReferenceDetails ¶
func (pwa PayWithAmazon) GetOrderReferenceDetails(amazonOrderReferenceId, addressConsentToken string) (*GetOrderReferenceDetailsResponse, error)
func (PayWithAmazon) GetRefundDetails ¶
func (pwa PayWithAmazon) GetRefundDetails(amazonRefundId string) (*GetRefundDetailsResponse, error)
func (PayWithAmazon) GetServiceStatus ¶
func (pwa PayWithAmazon) GetServiceStatus() (*GetServiceStatusResponse, error)
func (*PayWithAmazon) HandleThrottling ¶
func (pwa *PayWithAmazon) HandleThrottling(shouldHandleThrottling bool)
func (PayWithAmazon) Refund ¶
func (pwa PayWithAmazon) Refund( amazonCaptureId string, refundReferenceId string, refundAmount Price, sellerRefundNote string, softDescriptor string, ) (*RefundResponse, error)
func (PayWithAmazon) SetOrderAttributes ¶
func (pwa PayWithAmazon) SetOrderAttributes(amazonOrderReferenceId string, orderAttributes OrderAttributes) (*SetOrderAttributesResponse, error)
func (PayWithAmazon) SetOrderReferenceDetails ¶
func (pwa PayWithAmazon) SetOrderReferenceDetails(amazonOrderReferenceId string, orderReferenceAttributes OrderReferenceAttributes) (*SetOrderReferenceDetailsResponse, error)
type PaymentServiceProviderAttributes ¶
type Refund ¶
type Refund struct { AmazonCaptureId string RefundReferenceId string RefundAmount Price SellerRefundNote string SoftDescriptor string }
See: https://payments.amazon.co.uk/developer/documentation/apireference/201752080
type RefundDetails ¶
type RefundResponse ¶
type RefundResponse struct { Result *RefundResult `xml:"RefundResult"` Metadata ResponseMetadata `xml:"ResponseMetadata"` }
type RefundResult ¶
type RefundResult struct {
RefundDetails RefundDetails
}
type RefundState ¶
type RefundState string
const ( RefundStatePending RefundState = "Pending" RefundStateDeclined RefundState = "Declined" RefundStateCompleted RefundState = "Completed" )
type RefundStatus ¶
type RefundStatus struct { State RefundState StatusCommon }
type ResponseMetadata ¶
type ResponseMetadata struct {
RequestId string
}
type SellerOrderAttributes ¶
type SetOrderAttributes ¶
type SetOrderAttributes struct { AmazonOrderReferenceId string OrderAttributes OrderAttributes }
See: https://pay.amazon.com/uk/developer/documentation/apireference/22N636REVGXTPNR
func (SetOrderAttributes) Action ¶
func (req SetOrderAttributes) Action() string
type SetOrderAttributesResponse ¶
type SetOrderAttributesResponse struct { Result *SetOrderAttributesResult `xml:"SetOrderAttributesResult"` Metadata ResponseMetadata `xml:"ResponseMetadata"` }
type SetOrderAttributesResult ¶
type SetOrderAttributesResult struct {
OrderReferenceDetails OrderReferenceDetails
}
type SetOrderReferenceDetails ¶
type SetOrderReferenceDetails struct { AmazonOrderReferenceId string OrderReferenceAttributes OrderReferenceAttributes }
See: https://payments.amazon.co.uk/developer/documentation/apireference/201751960
func (SetOrderReferenceDetails) Action ¶
func (req SetOrderReferenceDetails) Action() string
type SetOrderReferenceDetailsResponse ¶
type SetOrderReferenceDetailsResponse struct { Result *SetOrderReferenceDetailsResult `xml:"SetOrderReferenceDetailsResult"` Metadata ResponseMetadata `xml:"ResponseMetadata"` }
type SetOrderReferenceDetailsResult ¶
type SetOrderReferenceDetailsResult struct {
OrderReferenceDetails OrderReferenceDetails
}
type StatusCommon ¶
type V2Hmac256Signatory ¶
type V2Hmac256Signatory struct {
// contains filtered or unexported fields
}
func (V2Hmac256Signatory) Method ¶
func (h V2Hmac256Signatory) Method() string
func (V2Hmac256Signatory) Sign ¶
func (h V2Hmac256Signatory) Sign(raw string) []byte
func (V2Hmac256Signatory) Version ¶
func (h V2Hmac256Signatory) Version() string