Versions in this module Expand all Collapse all v1 v1.2.0 Dec 21, 2021 Changes in this version + type ID [32]byte + func New(data []byte) ID + func NewFromBytes(b []byte) ID + func NewFromString(s string) ID + func PeerID(conn *tls.Conn) (ID, error) + func (i *ID) MarshalText() ([]byte, error) + func (i *ID) UnmarshalText(bs []byte) (err error) + func (i ID) Compare(other ID) int + func (i ID) Equals(other ID) bool + func (i ID) String() string + type ImproperCertsNumberError struct + func (e ImproperCertsNumberError) Error() string