Documentation ¶
Index ¶
- Variables
- func FindNeighbors(myHostIP string, myPort uint16, startIp uint8, endIp uint8, startPort uint16, ...) []string
- func GetHost() string
- func IsFoundNode(host string, port uint16) bool
- func JsonStatus(message string) []byte
- func String2BigIntTuples(s string) (big.Int, big.Int)
- func String2PrivateKey(s string, publicKey *ecdsa.PublicKey) *ecdsa.PrivateKey
- func String2PublicKey(s string) *ecdsa.PublicKey
- type Signature
Constants ¶
This section is empty.
Variables ¶
View Source
var PATTERN = regexp.MustCompile(`((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?\.){3})(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)`)
Functions ¶
func FindNeighbors ¶ added in v1.44.0
func IsFoundNode ¶ added in v1.44.0
func JsonStatus ¶ added in v1.33.0
func String2PrivateKey ¶ added in v1.35.0
func String2PrivateKey(s string, publicKey *ecdsa.PublicKey) *ecdsa.PrivateKey
func String2PublicKey ¶ added in v1.35.0
Types ¶
Click to show internal directories.
Click to hide internal directories.