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 Quad
Index ¶
- type HistoryEntry
- func (m *HistoryEntry) Marshal() (data []byte, err error)
- func (m *HistoryEntry) MarshalTo(data []byte) (n int, err error)
- func (*HistoryEntry) ProtoMessage()
- func (m *HistoryEntry) Reset()
- func (m *HistoryEntry) Size() (n int)
- func (m *HistoryEntry) String() string
- func (m *HistoryEntry) Unmarshal(data []byte) error
- type LogDelta
- func (m *LogDelta) GetQuad() *Quad
- func (m *LogDelta) Marshal() (data []byte, err error)
- func (m *LogDelta) MarshalTo(data []byte) (n int, err error)
- func (*LogDelta) ProtoMessage()
- func (m *LogDelta) Reset()
- func (m *LogDelta) Size() (n int)
- func (m *LogDelta) String() string
- func (m *LogDelta) Unmarshal(data []byte) error
- type NodeData
- type Quad
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HistoryEntry ¶
type HistoryEntry struct {
History []uint64 `protobuf:"varint,1,rep" json:"History,omitempty"`
}
func (*HistoryEntry) Marshal ¶
func (m *HistoryEntry) Marshal() (data []byte, err error)
func (*HistoryEntry) ProtoMessage ¶
func (*HistoryEntry) ProtoMessage()
func (*HistoryEntry) Reset ¶
func (m *HistoryEntry) Reset()
func (*HistoryEntry) Size ¶
func (m *HistoryEntry) Size() (n int)
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,proto3" json:"ID,omitempty"` Quad *Quad `protobuf:"bytes,2,opt" json:"Quad,omitempty"` Action int32 `protobuf:"varint,3,opt,proto3" json:"Action,omitempty"` Timestamp int64 `protobuf:"varint,4,opt,proto3" json:"Timestamp,omitempty"` }
func (*LogDelta) ProtoMessage ¶
func (*LogDelta) ProtoMessage()
type NodeData ¶
type NodeData struct { Name string `protobuf:"bytes,1,opt,proto3" json:"Name,omitempty"` Size_ int64 `protobuf:"varint,2,opt,proto3" json:"Size,omitempty"` }
func (*NodeData) ProtoMessage ¶
func (*NodeData) ProtoMessage()
type Quad ¶
type Quad struct { Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` Predicate string `protobuf:"bytes,2,opt,name=predicate,proto3" json:"predicate,omitempty"` Object string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"` Label string `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"` }
func (*Quad) ProtoMessage ¶
func (*Quad) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.