Documentation ¶
Index ¶
Constants ¶
View Source
const ( // NetworkProd is used to validate main network addresses. NetworkProd = "prod" // NetworkTest is used to validate test network addresses. NetworkTest = "testnet" // NetworkBoth is used to validate all network addresses. NetworkBoth = "both" )
Variables ¶
This section is empty.
Functions ¶
func IsValidAddress ¶ added in v0.3.0
IsValidAddress validates the given currency main or test network address. Currency can be a name or a symbol, e.g. "bitcoin", "litecoin" or "ETH".
func IsValidProdAddress ¶ added in v0.3.0
IsValidProdAddress validates the given currency main network address. Currency can be a name or a symbol, e.g. "bitcoin", "litecoin" or "ETH".
func IsValidTestnetAddress ¶ added in v0.3.0
IsValidTestnetAddress validates the given currency test network address. Currency can be a name or a symbol, e.g. "bitcoin", "litecoin" or "ETH".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.