cmd

package
v0.0.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BatchTopup

func BatchTopup(svc *reloadly.Service, numWorkers int, jobs []reloadly.TopupJob) []*reloadly.TopupWorkerResponse

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 LoadBatchCsv

func LoadBatchCsv(path string) ([]reloadly.TopupJob, error)

func LoadGiftCardsService added in v0.0.14

func LoadGiftCardsService(cmd *cobra.Command) (*reloadly.Service, error)

func LoadTopupsService added in v0.0.14

func LoadTopupsService(cmd *cobra.Command) (*reloadly.Service, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL