Documentation ¶
Overview ¶
Package proto is a generated protocol buffer package.
It is generated from these files:
serializations.proto
It has these top-level messages:
LogDelta HistoryEntry NodeData
Index ¶
- Variables
- type HistoryEntry
- func (*HistoryEntry) Descriptor() ([]byte, []int)
- func (m *HistoryEntry) Marshal() (data []byte, err error)
- func (m *HistoryEntry) MarshalTo(data []byte) (int, error)
- func (*HistoryEntry) ProtoMessage()
- func (m *HistoryEntry) ProtoSize() (n int)
- func (m *HistoryEntry) Reset()
- func (m *HistoryEntry) String() string
- func (m *HistoryEntry) Unmarshal(data []byte) error
- type LogDelta
- func (*LogDelta) Descriptor() ([]byte, []int)
- func (m *LogDelta) GetQuad() *pquads.Quad
- func (m *LogDelta) Marshal() (data []byte, err error)
- func (m *LogDelta) MarshalTo(data []byte) (int, error)
- func (*LogDelta) ProtoMessage()
- func (m *LogDelta) ProtoSize() (n int)
- func (m *LogDelta) Reset()
- func (m *LogDelta) String() string
- func (m *LogDelta) Unmarshal(data []byte) error
- type NodeData
- func (*NodeData) Descriptor() ([]byte, []int)
- func (m *NodeData) GetNativeValue() quad.Value
- func (m *NodeData) GetValue() *pquads.Value
- func (m *NodeData) Marshal() (data []byte, err error)
- func (m *NodeData) MarshalTo(data []byte) (int, error)
- func (*NodeData) ProtoMessage()
- func (m *NodeData) ProtoSize() (n int)
- func (m *NodeData) Reset()
- func (m *NodeData) String() string
- func (m *NodeData) Unmarshal(data []byte) error
- func (m *NodeData) Upgrade()
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthSerializations = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSerializations = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type HistoryEntry ¶
type HistoryEntry struct {
History []uint64 `protobuf:"varint,1,rep,name=History,json=history" json:"History,omitempty"`
}
func (*HistoryEntry) Descriptor ¶ added in v0.6.1
func (*HistoryEntry) Descriptor() ([]byte, []int)
func (*HistoryEntry) Marshal ¶
func (m *HistoryEntry) Marshal() (data []byte, err error)
func (*HistoryEntry) ProtoMessage ¶
func (*HistoryEntry) ProtoMessage()
func (*HistoryEntry) ProtoSize ¶ added in v0.6.0
func (m *HistoryEntry) ProtoSize() (n int)
func (*HistoryEntry) Reset ¶
func (m *HistoryEntry) Reset()
func (*HistoryEntry) String ¶
func (m *HistoryEntry) String() string
func (*HistoryEntry) Unmarshal ¶
func (m *HistoryEntry) Unmarshal(data []byte) error
type LogDelta ¶
type LogDelta struct { ID uint64 `protobuf:"varint,1,opt,name=ID,json=iD,proto3" json:"ID,omitempty"` Quad *pquads.Quad `protobuf:"bytes,2,opt,name=Quad,json=quad" json:"Quad,omitempty"` Action int32 `protobuf:"varint,3,opt,name=Action,json=action,proto3" json:"Action,omitempty"` Timestamp int64 `protobuf:"varint,4,opt,name=Timestamp,json=timestamp,proto3" json:"Timestamp,omitempty"` }
func (*LogDelta) Descriptor ¶ added in v0.6.1
func (*LogDelta) ProtoMessage ¶
func (*LogDelta) ProtoMessage()
type NodeData ¶
type NodeData struct { Name string `protobuf:"bytes,1,opt,name=Name,json=name,proto3" json:"Name,omitempty"` Size int64 `protobuf:"varint,2,opt,name=Size,json=size,proto3" json:"Size,omitempty"` Value *pquads.Value `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"` }
func (*NodeData) Descriptor ¶ added in v0.6.1
func (*NodeData) GetNativeValue ¶ added in v0.6.0
GetNativeValue returns the value stored in Node.
func (*NodeData) ProtoMessage ¶
func (*NodeData) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.