# Functions
CreateEvent create a new event by wrapping the body node.
CreateRecord returns a new record from the given block and log private key.
DecodeBlock returns a node by decrypting the block's raw bytes with key.
EncodeBlock returns a node by encrypting the block's raw bytes with key.
EventFromNode decodes the given node into an event.
EventFromRecord returns the event within the given node.
GetEvent returns the event node for the given cid.
GetRecord returns a record from the given cid.
RecordFromNode decodes a record from a node using the given key.
RecordFromProto returns a node from a serialized version that contains link data.
RecordToProto returns a proto version of a record for transport.
RemoveEvent removes an event from the dag service.
RemoveRecord removes a record from the dag service.
# Structs
CreateRecordConfig wraps all the elements needed for creating a new record.
Event is a IPLD node representing an event.
EventHeader is an IPLD node representing an event header.
Record is an IPLD node representing a record.