address

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: Apache-2.0 Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssembleClientAddress

func AssembleClientAddress(identifier string, pubkey []byte) string

AssembleClientAddress returns the client address string from identifier and pubkey

func IsPrivateIP

func IsPrivateIP(ip net.IP) bool

IsPrivateIP returns if an IP address is a private IP address

func MakeAddressString

func MakeAddressString(pubKey []byte, identifier string) string

func ParseClientAddress

func ParseClientAddress(addrStr string) ([]byte, []byte, string, error)

ParseClientAddress parse an address string to Chord address, public key, and identifier

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL