package
0.10.7
Repository: https://github.com/direct-connect/go-dc.git
Documentation: pkg.go.dev

# Functions

MustParseCID parses a base32 CID string and panics on error.
MustParseCIDP is the same as MustParseCID, but returns a pointer to a new value.
NewPID generates a new Private ID using a cryptographic random source.
SIDFromInt converts a 20 bit integer to a SID.
SIDFromString parses a 4-byte base32 encoded SID value.

# Type aliases

CID (Client ID) globally and publicly identify a unique client and underlie client to client communication.
PID (Private ID) globally identify a unique client.
SID (Session ID) appears in all communication that interacts with the hub.