Documentation ¶
Index ¶
- Variables
- func Create(cmd *cobra.Command, args []string) error
- func CreateOnUphold(ctx context.Context, name string) error
- func ListTransactions(ctx context.Context, args []string, csvOut bool, signed bool, limit int, ...) error
- func RunListTransactions(cmd *cobra.Command, args []string) error
- func RunTransferFunds(command *cobra.Command, args []string) error
- func TransferFunds(ctx context.Context, from string, to string, value string, currency string, ...) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // TransferFundsCmd transfer funds command TransferFundsCmd = &cobra.Command{ Use: "transfer-funds", Short: "transfers funds from one wallet to another", Run: rootcmd.Perform("transfer funds", RunTransferFunds), } // WalletsCmd root wallets command WalletsCmd = &cobra.Command{ Use: "wallet", Short: "provides wallets micro-service entrypoint", } )
View Source
var ( // CreateCmd creates a wallet on uphold CreateCmd = &cobra.Command{ Use: "create", Short: "creates a wallet", Run: rootcmd.Perform("create", Create), } )
View Source
var ( // ListTransactionsCmd is a command to list transactions from a given wallet ListTransactionsCmd = &cobra.Command{ Use: "list-transactions", Short: "lists a transactions from a given wallet", Run: rootcmd.Perform("list transactions", RunListTransactions), } )
Functions ¶
func CreateOnUphold ¶
CreateOnUphold creates a wallet on uphold
func ListTransactions ¶
func ListTransactions( ctx context.Context, args []string, csvOut bool, signed bool, limit int, startDateStr string, walletProvider string, ) error
ListTransactions lists transactions
func RunListTransactions ¶
RunListTransactions runs the list transactions command
func RunTransferFunds ¶
RunTransferFunds moves funds from one wallet to another
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.