Documentation ¶
Index ¶
Constants ¶
View Source
const ( WeldLeft = "←" // https://en.wikipedia.org/wiki/List_of_Unicode_characters#Arrows WeldRight = "→" WeldAttach = "↑" WeldAnchor = "↓" Payload = "Ⓟ" // https://en.wikipedia.org/wiki/Enclosed_Alphanumerics Action = "Ⓐ" Signature = "Ⓢ" Epoch = "Ⓔ" Txt = "⒯" )
coding for IPLD link, labels, and any.Any dataURL
Variables ¶
View Source
var NodeWithData = mdag.NodeWithData
reference mdag func
Functions ¶
Types ¶
type ProtoEvent ¶
type ProtoEvent struct { Schema Schema `json:"schema"` Oid ObjectID `json:"oid"` Parent LinkID `json:"parent"` Event LinkID `json:"eventId"` Multi uint64 `json:"multi"` Command Raw `json:"-"` Payload Raw `json:"-"` State StateVector `json:"-"` }
transitional datatype for converting between protobuf <-> IPLD Node
func (*ProtoEvent) EventTree ¶
func (pe *ProtoEvent) EventTree() (sub *EventTree, err error)
convert Event to IPLD nodes
type ProtoEventFactory ¶
type ProtoEventFactory interface {
ProtoEvent() *ProtoEvent
}
type Ref ¶
type Vector ¶
type Vector []int64
state transformation delta
func (Vector) ToStateVector ¶
func (v Vector) ToStateVector() StateVector
allow conversion to []uint64
Click to show internal directories.
Click to hide internal directories.