Documentation ¶
Index ¶
- func BatchTopup(svc *reloadly.Service, numWorkers int, jobs []reloadly.TopupJob) []*reloadly.TopupWorkerResponse
- func Execute()
- func LoadBatchCsv(path string) ([]reloadly.TopupJob, error)
- func LoadGiftCardsService(cmd *cobra.Command) (*reloadly.Service, error)
- func LoadTopupsService(cmd *cobra.Command) (*reloadly.Service, error)
- func PrettyPrint(object interface{}) error
- func WriteBatchCsv(path string, responses []*reloadly.TopupWorkerResponse) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BatchTopup ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func LoadGiftCardsService ¶ added in v0.0.14
func LoadTopupsService ¶ added in v0.0.14
func PrettyPrint ¶ added in v0.0.14
func PrettyPrint(object interface{}) error
func WriteBatchCsv ¶
func WriteBatchCsv(path string, responses []*reloadly.TopupWorkerResponse) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.