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 StringToBigIntTuples(s string) (big.Int, big.Int)
- func StringToPrivateKey(s string, publicKey *ecdsa.PublicKey) *ecdsa.PrivateKey
- func StringToPublicKey(s string) *ecdsa.PublicKey
- type Signature
Constants ¶
This section is empty.
Variables ¶
View Source
var IP_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 ¶
func IsFoundNode ¶
func JsonStatus ¶
func StringToPrivateKey ¶
func StringToPrivateKey(s string, publicKey *ecdsa.PublicKey) *ecdsa.PrivateKey
func StringToPublicKey ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.