Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // MpesaC2B is the shortcode used for C2B transactions MpesaC2B *Shortcode // MpesaB2C is the shortcode used for C2B transactions MpesaB2C *Shortcode }
Config stores the configuration keys we need to run the app
type Credentials ¶
type Credentials struct { ConsumerKey string `json:"consumer_key"` ConsumerSecret string `json:"consumer_secret"` }
Credentials contains the keys to be used to authenticate the app on M-Pesa
Click to show internal directories.
Click to hide internal directories.