Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CardBinCheckResponse ¶
type CardBinCheckResponse struct {
CardType string `json:"cardType"`
Bank string `json:"bank"`
Key string `json:"key"`
Messages []errorMessage `json:"messages"`
Validated bool `json:"validated"`
Stat string `json:"stat"`
CardBIN string
}
CardBinCheckResponse bank card check result
func (*CardBinCheckResponse) WriteResponse ¶
func (cbcr *CardBinCheckResponse) WriteResponse(w io.Writer, c ContentType) error
WriteResponse writes response to io.Writer
type ContentType ¶
type ContentType int
ContentType CardBinCheckResponse content type
const ( // JSONContentType JSON content type JSONContentType ContentType = iota // TextContentType JSON content type TextContentType )
Click to show internal directories.
Click to hide internal directories.