cmd

package
Version: v0.0.0-...-b4c7e06 Latest Latest
Warning

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

Go to latest
Published: May 9, 2021 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NetworkIds = map[Network][]string{
	Mainnet:        {"mainnet"},
	Testnet:        {"testnet"},
	RegressionTest: {"regtest"},
}

NetworkIds mapper

Functions

func Run

func Run()

Run CMD

Types

type Network

type Network enumflag.Flag

Network represents an enum of different bitcoin networks

const (
	Mainnet Network = iota
	Testnet
	RegressionTest
)

② Define the enumeration values for FooMode.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL