Documentation
¶
Index ¶
- func CheckIfTestnetOrTestnetNetworkFlag() bool
- func ExpandHomeDir(path string) (string, error)
- func GetAllSupportedNetworks() string
- func GetCommandSupportedNetworks() string
- func GetDefaultLocalMappedContainerName(network string) (string, bool)
- func GetFiftysixDockerhubContainerName(network string) (string, bool)
- func GetNetworkRequiredDataSize(network string) (int, bool)
- func GetNetworkRequiredSnapshotSize(network string) (int, bool)
- func GetNodevinDataDir() (string, error)
- func GetNodevinExecutable() string
- func GetSizeDescription(size int64) string
- func GetSnapshotCIDByNetwork(network string) (string, bool)
- func GetStartMessage(network string) (string, bool)
- func IsSupportedExtendedInfoSoftware(software string) bool
- func NetworkContainerMap() map[string]string
- func NetworkDefaultRPCPorts() map[string]int
- type NetworkInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIfTestnetOrTestnetNetworkFlag ¶
func CheckIfTestnetOrTestnetNetworkFlag() bool
func ExpandHomeDir ¶ added in v0.2.0
Expands a leading "~" or "~/" in path to the current user's home directory. filepath.Join and os.MkdirAll treat "~" as a literal directory name, not a shell shortcut, so a value like "~/Desktop" must be expanded manually before use or it silently creates a "~" directory relative to the current working directory instead of resolving to the user's home.
func GetAllSupportedNetworks ¶
func GetAllSupportedNetworks() string
func GetCommandSupportedNetworks ¶ added in v0.0.5
func GetCommandSupportedNetworks() string
func GetNodevinDataDir ¶
Returns path to the user's nodevin data directory (~/.nodevin/data)
func GetNodevinExecutable ¶ added in v0.0.5
func GetNodevinExecutable() string
func GetSizeDescription ¶
func GetSnapshotCIDByNetwork ¶ added in v0.0.7
func GetStartMessage ¶
func IsSupportedExtendedInfoSoftware ¶ added in v0.0.7
func NetworkContainerMap ¶
func NetworkDefaultRPCPorts ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.