Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRequestBinSource ¶
func NewRequestBinSource(bin string) *requestBinSource
func NewRequestCardSource ¶
func NewRequestCardSource(number string) *requestCardSource
func NewRequestIdSource ¶
func NewRequestIdSource(id string) *requestIdSource
func NewRequestTokenSource ¶
func NewRequestTokenSource(token string) *requestTokenSource
Types ¶
type MetadataSourceType ¶
type MetadataSourceType struct {
Type SourceType `json:"type,omitempty"`
}
type SourceRequest ¶
type SourceRequest interface {
GetType() SourceType
}
type SourceType ¶
type SourceType string
const ( Bin SourceType = "bin" Card SourceType = "card" Id SourceType = "id" Token SourceType = "token" )
Click to show internal directories.
Click to hide internal directories.