Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{
BaseURL: "https://www.meualelo.com.br/meualelo.services/rest",
Timeout: 30,
}
DefaultConfig for the client
View Source
var ErrAuth = errors.New("Authentication failure")
ErrAuth happens on authentication failures
View Source
var ErrDumbass = errors.New("Random shit happened within Alelo API, try again")
ErrDumbass happens when random shit happens
Functions ¶
This section is empty.
Types ¶
type CardDetails ¶
type CardDetails struct { Balance string `json:"balance"` Name string `json:"productName"` Type string `json:"cardType"` Number string `json:"maskedNumber"` }
CardDetails type
Click to show internal directories.
Click to hide internal directories.