Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnmarshalMessage ¶
UnmarshalMessage decodes the given byte slice into a BEP44 message.
Types ¶
type Message ¶
type Message struct { // The sequence number of the message, used to ensure the latest version of the data is retrieved // and updated. It's a monotonically increasing number. Seq int64 // The actual data being stored or retrieved from the DHT network, typically encoded in a format // suitable for DNS packet representation of a DID Document. V []byte // contains filtered or unexported fields }
Message Represents a BEP44 message, which is used for storing and retrieving data in the Mainline DHT network.
A BEP44 message is used primarily in the context of the DID DHT method for publishing and resolving DID documents in the DHT network. This type encapsulates the data structure required for such operations in accordance with BEP44.
Click to show internal directories.
Click to hide internal directories.