Documentation ¶
Index ¶
- func BankCommand(store *wallet.Store) cli.Command
- func CreateCommand(store *wallet.Store) cli.Command
- func NodeCommand(confChangeC chan<- raftpb.ConfChange, statusGetter func() (raft.Status, error)) cli.Command
- func SendCommand(store *wallet.Store) cli.Command
- func StatusCommand(getStatus func() (raft.Status, error)) cli.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BankCommand ¶
BankCommand creates the bank command, returning to the user the current balance of all their local wallets
syntax: bank [full]
func CreateCommand ¶
CreateCommand creates the create command, allowing the user to create currency and deposit into the provided wallet
syntax: create ${KEY} ${AMOUNT} ${CURRENCY}
func NodeCommand ¶
func NodeCommand(confChangeC chan<- raftpb.ConfChange, statusGetter func() (raft.Status, error)) cli.Command
NodeCommand creates the node command, allowing members of the cluster to add and remove nodes
syntax: node create|delete ${ID} [URL]
func SendCommand ¶
SendCommand executes the send command, allowing the user to send currency from one of their wallets to another
syntax: send ${SRC} ${DST} ${AMOUNT} ${CURRENCY}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.