Documentation ¶
Overview ¶
Package proto is a generated protocol buffer package.
It is generated from these files:
godless.proto
It has these top-level messages:
NamespaceMessage NamespaceEntryMessage PointMessage IndexMessage IndexEntryMessage LinkMessage APIRequestMessage ReplicateMessage APIResponseMessage QueryMessage QueryJoinMessage QueryRowJoinMessage QueryRowJoinEntryMessage QuerySelectMessage QueryWhereMessage QueryPredicateMessage PredicateValue
Index ¶
- type APIRequestMessage
- func (*APIRequestMessage) Descriptor() ([]byte, []int)
- func (m *APIRequestMessage) GetQuery() *QueryMessage
- func (m *APIRequestMessage) GetReflection() uint32
- func (m *APIRequestMessage) GetReplicate() *ReplicateMessage
- func (m *APIRequestMessage) GetType() uint32
- func (*APIRequestMessage) ProtoMessage()
- func (m *APIRequestMessage) Reset()
- func (m *APIRequestMessage) String() string
- type APIResponseMessage
- func (*APIResponseMessage) Descriptor() ([]byte, []int)
- func (m *APIResponseMessage) GetError() string
- func (m *APIResponseMessage) GetIndex() *IndexMessage
- func (m *APIResponseMessage) GetMessage() string
- func (m *APIResponseMessage) GetNamespace() *NamespaceMessage
- func (m *APIResponseMessage) GetPath() string
- func (m *APIResponseMessage) GetType() uint32
- func (*APIResponseMessage) ProtoMessage()
- func (m *APIResponseMessage) Reset()
- func (m *APIResponseMessage) String() string
- type IndexEntryMessage
- func (*IndexEntryMessage) Descriptor() ([]byte, []int)
- func (m *IndexEntryMessage) GetLink() string
- func (m *IndexEntryMessage) GetSignature() string
- func (m *IndexEntryMessage) GetTable() string
- func (*IndexEntryMessage) ProtoMessage()
- func (m *IndexEntryMessage) Reset()
- func (m *IndexEntryMessage) String() string
- type IndexMessage
- type LinkMessage
- type NamespaceEntryMessage
- func (*NamespaceEntryMessage) Descriptor() ([]byte, []int)
- func (m *NamespaceEntryMessage) GetEntry() string
- func (m *NamespaceEntryMessage) GetPoint() *PointMessage
- func (m *NamespaceEntryMessage) GetRow() string
- func (m *NamespaceEntryMessage) GetTable() string
- func (*NamespaceEntryMessage) ProtoMessage()
- func (m *NamespaceEntryMessage) Reset()
- func (m *NamespaceEntryMessage) String() string
- type NamespaceMessage
- type PointMessage
- type PredicateValue
- type QueryJoinMessage
- type QueryMessage
- func (*QueryMessage) Descriptor() ([]byte, []int)
- func (m *QueryMessage) GetJoin() *QueryJoinMessage
- func (m *QueryMessage) GetKeyHashes() []string
- func (m *QueryMessage) GetOpCode() uint32
- func (m *QueryMessage) GetSelect() *QuerySelectMessage
- func (m *QueryMessage) GetTable() string
- func (*QueryMessage) ProtoMessage()
- func (m *QueryMessage) Reset()
- func (m *QueryMessage) String() string
- type QueryPredicateMessage
- func (*QueryPredicateMessage) Descriptor() ([]byte, []int)
- func (m *QueryPredicateMessage) GetFunctionName() string
- func (m *QueryPredicateMessage) GetUserow() bool
- func (m *QueryPredicateMessage) GetValues() []*PredicateValue
- func (*QueryPredicateMessage) ProtoMessage()
- func (m *QueryPredicateMessage) Reset()
- func (m *QueryPredicateMessage) String() string
- type QueryRowJoinEntryMessage
- func (*QueryRowJoinEntryMessage) Descriptor() ([]byte, []int)
- func (m *QueryRowJoinEntryMessage) GetEntry() string
- func (m *QueryRowJoinEntryMessage) GetPoint() string
- func (*QueryRowJoinEntryMessage) ProtoMessage()
- func (m *QueryRowJoinEntryMessage) Reset()
- func (m *QueryRowJoinEntryMessage) String() string
- type QueryRowJoinMessage
- func (*QueryRowJoinMessage) Descriptor() ([]byte, []int)
- func (m *QueryRowJoinMessage) GetEntries() []*QueryRowJoinEntryMessage
- func (m *QueryRowJoinMessage) GetRow() string
- func (*QueryRowJoinMessage) ProtoMessage()
- func (m *QueryRowJoinMessage) Reset()
- func (m *QueryRowJoinMessage) String() string
- type QuerySelectMessage
- type QueryWhereMessage
- func (*QueryWhereMessage) Descriptor() ([]byte, []int)
- func (m *QueryWhereMessage) GetClauses() []*QueryWhereMessage
- func (m *QueryWhereMessage) GetOpCode() uint32
- func (m *QueryWhereMessage) GetPredicate() *QueryPredicateMessage
- func (*QueryWhereMessage) ProtoMessage()
- func (m *QueryWhereMessage) Reset()
- func (m *QueryWhereMessage) String() string
- type ReplicateMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIRequestMessage ¶
type APIRequestMessage struct { Type uint32 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"` Reflection uint32 `protobuf:"varint,2,opt,name=reflection" json:"reflection,omitempty"` Query *QueryMessage `protobuf:"bytes,3,opt,name=query" json:"query,omitempty"` Replicate *ReplicateMessage `protobuf:"bytes,4,opt,name=replicate" json:"replicate,omitempty"` }
func (*APIRequestMessage) Descriptor ¶
func (*APIRequestMessage) Descriptor() ([]byte, []int)
func (*APIRequestMessage) GetQuery ¶
func (m *APIRequestMessage) GetQuery() *QueryMessage
func (*APIRequestMessage) GetReflection ¶
func (m *APIRequestMessage) GetReflection() uint32
func (*APIRequestMessage) GetReplicate ¶
func (m *APIRequestMessage) GetReplicate() *ReplicateMessage
func (*APIRequestMessage) GetType ¶
func (m *APIRequestMessage) GetType() uint32
func (*APIRequestMessage) ProtoMessage ¶
func (*APIRequestMessage) ProtoMessage()
func (*APIRequestMessage) Reset ¶
func (m *APIRequestMessage) Reset()
func (*APIRequestMessage) String ¶
func (m *APIRequestMessage) String() string
type APIResponseMessage ¶
type APIResponseMessage struct { Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"` Error string `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"` Type uint32 `protobuf:"varint,3,opt,name=type" json:"type,omitempty"` Path string `protobuf:"bytes,4,opt,name=path" json:"path,omitempty"` Namespace *NamespaceMessage `protobuf:"bytes,5,opt,name=namespace" json:"namespace,omitempty"` Index *IndexMessage `protobuf:"bytes,6,opt,name=index" json:"index,omitempty"` }
func (*APIResponseMessage) Descriptor ¶
func (*APIResponseMessage) Descriptor() ([]byte, []int)
func (*APIResponseMessage) GetError ¶
func (m *APIResponseMessage) GetError() string
func (*APIResponseMessage) GetIndex ¶
func (m *APIResponseMessage) GetIndex() *IndexMessage
func (*APIResponseMessage) GetMessage ¶
func (m *APIResponseMessage) GetMessage() string
func (*APIResponseMessage) GetNamespace ¶
func (m *APIResponseMessage) GetNamespace() *NamespaceMessage
func (*APIResponseMessage) GetPath ¶
func (m *APIResponseMessage) GetPath() string
func (*APIResponseMessage) GetType ¶
func (m *APIResponseMessage) GetType() uint32
func (*APIResponseMessage) ProtoMessage ¶
func (*APIResponseMessage) ProtoMessage()
func (*APIResponseMessage) Reset ¶
func (m *APIResponseMessage) Reset()
func (*APIResponseMessage) String ¶
func (m *APIResponseMessage) String() string
type IndexEntryMessage ¶
type IndexEntryMessage struct { Table string `protobuf:"bytes,1,opt,name=table" json:"table,omitempty"` Link string `protobuf:"bytes,2,opt,name=link" json:"link,omitempty"` Signature string `protobuf:"bytes,3,opt,name=signature" json:"signature,omitempty"` }
func (*IndexEntryMessage) Descriptor ¶
func (*IndexEntryMessage) Descriptor() ([]byte, []int)
func (*IndexEntryMessage) GetLink ¶
func (m *IndexEntryMessage) GetLink() string
func (*IndexEntryMessage) GetSignature ¶
func (m *IndexEntryMessage) GetSignature() string
func (*IndexEntryMessage) GetTable ¶
func (m *IndexEntryMessage) GetTable() string
func (*IndexEntryMessage) ProtoMessage ¶
func (*IndexEntryMessage) ProtoMessage()
func (*IndexEntryMessage) Reset ¶
func (m *IndexEntryMessage) Reset()
func (*IndexEntryMessage) String ¶
func (m *IndexEntryMessage) String() string
type IndexMessage ¶
type IndexMessage struct {
Entries []*IndexEntryMessage `protobuf:"bytes,1,rep,name=entries" json:"entries,omitempty"`
}
func (*IndexMessage) Descriptor ¶
func (*IndexMessage) Descriptor() ([]byte, []int)
func (*IndexMessage) GetEntries ¶
func (m *IndexMessage) GetEntries() []*IndexEntryMessage
func (*IndexMessage) ProtoMessage ¶
func (*IndexMessage) ProtoMessage()
func (*IndexMessage) Reset ¶
func (m *IndexMessage) Reset()
func (*IndexMessage) String ¶
func (m *IndexMessage) String() string
type LinkMessage ¶
type LinkMessage struct { Link string `protobuf:"bytes,1,opt,name=link" json:"link,omitempty"` Signatures []string `protobuf:"bytes,2,rep,name=signatures" json:"signatures,omitempty"` }
func (*LinkMessage) Descriptor ¶
func (*LinkMessage) Descriptor() ([]byte, []int)
func (*LinkMessage) GetLink ¶
func (m *LinkMessage) GetLink() string
func (*LinkMessage) GetSignatures ¶
func (m *LinkMessage) GetSignatures() []string
func (*LinkMessage) ProtoMessage ¶
func (*LinkMessage) ProtoMessage()
func (*LinkMessage) Reset ¶
func (m *LinkMessage) Reset()
func (*LinkMessage) String ¶
func (m *LinkMessage) String() string
type NamespaceEntryMessage ¶
type NamespaceEntryMessage struct { Table string `protobuf:"bytes,1,opt,name=table" json:"table,omitempty"` Row string `protobuf:"bytes,2,opt,name=row" json:"row,omitempty"` Entry string `protobuf:"bytes,3,opt,name=entry" json:"entry,omitempty"` Point *PointMessage `protobuf:"bytes,4,opt,name=point" json:"point,omitempty"` }
func (*NamespaceEntryMessage) Descriptor ¶
func (*NamespaceEntryMessage) Descriptor() ([]byte, []int)
func (*NamespaceEntryMessage) GetEntry ¶
func (m *NamespaceEntryMessage) GetEntry() string
func (*NamespaceEntryMessage) GetPoint ¶
func (m *NamespaceEntryMessage) GetPoint() *PointMessage
func (*NamespaceEntryMessage) GetRow ¶
func (m *NamespaceEntryMessage) GetRow() string
func (*NamespaceEntryMessage) GetTable ¶
func (m *NamespaceEntryMessage) GetTable() string
func (*NamespaceEntryMessage) ProtoMessage ¶
func (*NamespaceEntryMessage) ProtoMessage()
func (*NamespaceEntryMessage) Reset ¶
func (m *NamespaceEntryMessage) Reset()
func (*NamespaceEntryMessage) String ¶
func (m *NamespaceEntryMessage) String() string
type NamespaceMessage ¶
type NamespaceMessage struct {
Entries []*NamespaceEntryMessage `protobuf:"bytes,1,rep,name=entries" json:"entries,omitempty"`
}
func (*NamespaceMessage) Descriptor ¶
func (*NamespaceMessage) Descriptor() ([]byte, []int)
func (*NamespaceMessage) GetEntries ¶
func (m *NamespaceMessage) GetEntries() []*NamespaceEntryMessage
func (*NamespaceMessage) ProtoMessage ¶
func (*NamespaceMessage) ProtoMessage()
func (*NamespaceMessage) Reset ¶
func (m *NamespaceMessage) Reset()
func (*NamespaceMessage) String ¶
func (m *NamespaceMessage) String() string
type PointMessage ¶
type PointMessage struct { Text string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"` Signature string `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"` }
func (*PointMessage) Descriptor ¶
func (*PointMessage) Descriptor() ([]byte, []int)
func (*PointMessage) GetSignature ¶
func (m *PointMessage) GetSignature() string
func (*PointMessage) GetText ¶
func (m *PointMessage) GetText() string
func (*PointMessage) ProtoMessage ¶
func (*PointMessage) ProtoMessage()
func (*PointMessage) Reset ¶
func (m *PointMessage) Reset()
func (*PointMessage) String ¶
func (m *PointMessage) String() string
type PredicateValue ¶ added in v0.19.0
type PredicateValue struct { IsKey bool `protobuf:"varint,1,opt,name=isKey" json:"isKey,omitempty"` Text string `protobuf:"bytes,2,opt,name=text" json:"text,omitempty"` }
func (*PredicateValue) Descriptor ¶ added in v0.19.0
func (*PredicateValue) Descriptor() ([]byte, []int)
func (*PredicateValue) GetIsKey ¶ added in v0.19.0
func (m *PredicateValue) GetIsKey() bool
func (*PredicateValue) GetText ¶ added in v0.19.0
func (m *PredicateValue) GetText() string
func (*PredicateValue) ProtoMessage ¶ added in v0.19.0
func (*PredicateValue) ProtoMessage()
func (*PredicateValue) Reset ¶ added in v0.19.0
func (m *PredicateValue) Reset()
func (*PredicateValue) String ¶ added in v0.19.0
func (m *PredicateValue) String() string
type QueryJoinMessage ¶
type QueryJoinMessage struct {
Rows []*QueryRowJoinMessage `protobuf:"bytes,1,rep,name=rows" json:"rows,omitempty"`
}
func (*QueryJoinMessage) Descriptor ¶
func (*QueryJoinMessage) Descriptor() ([]byte, []int)
func (*QueryJoinMessage) GetRows ¶
func (m *QueryJoinMessage) GetRows() []*QueryRowJoinMessage
func (*QueryJoinMessage) ProtoMessage ¶
func (*QueryJoinMessage) ProtoMessage()
func (*QueryJoinMessage) Reset ¶
func (m *QueryJoinMessage) Reset()
func (*QueryJoinMessage) String ¶
func (m *QueryJoinMessage) String() string
type QueryMessage ¶
type QueryMessage struct { OpCode uint32 `protobuf:"varint,1,opt,name=opCode" json:"opCode,omitempty"` Table string `protobuf:"bytes,2,opt,name=table" json:"table,omitempty"` Join *QueryJoinMessage `protobuf:"bytes,3,opt,name=join" json:"join,omitempty"` Select *QuerySelectMessage `protobuf:"bytes,4,opt,name=select" json:"select,omitempty"` KeyHashes []string `protobuf:"bytes,5,rep,name=keyHashes" json:"keyHashes,omitempty"` }
func (*QueryMessage) Descriptor ¶
func (*QueryMessage) Descriptor() ([]byte, []int)
func (*QueryMessage) GetJoin ¶
func (m *QueryMessage) GetJoin() *QueryJoinMessage
func (*QueryMessage) GetKeyHashes ¶
func (m *QueryMessage) GetKeyHashes() []string
func (*QueryMessage) GetOpCode ¶
func (m *QueryMessage) GetOpCode() uint32
func (*QueryMessage) GetSelect ¶
func (m *QueryMessage) GetSelect() *QuerySelectMessage
func (*QueryMessage) GetTable ¶
func (m *QueryMessage) GetTable() string
func (*QueryMessage) ProtoMessage ¶
func (*QueryMessage) ProtoMessage()
func (*QueryMessage) Reset ¶
func (m *QueryMessage) Reset()
func (*QueryMessage) String ¶
func (m *QueryMessage) String() string
type QueryPredicateMessage ¶
type QueryPredicateMessage struct { FunctionName string `protobuf:"bytes,1,opt,name=functionName" json:"functionName,omitempty"` Values []*PredicateValue `protobuf:"bytes,2,rep,name=values" json:"values,omitempty"` Userow bool `protobuf:"varint,3,opt,name=userow" json:"userow,omitempty"` }
func (*QueryPredicateMessage) Descriptor ¶
func (*QueryPredicateMessage) Descriptor() ([]byte, []int)
func (*QueryPredicateMessage) GetFunctionName ¶ added in v0.19.0
func (m *QueryPredicateMessage) GetFunctionName() string
func (*QueryPredicateMessage) GetUserow ¶
func (m *QueryPredicateMessage) GetUserow() bool
func (*QueryPredicateMessage) GetValues ¶ added in v0.19.0
func (m *QueryPredicateMessage) GetValues() []*PredicateValue
func (*QueryPredicateMessage) ProtoMessage ¶
func (*QueryPredicateMessage) ProtoMessage()
func (*QueryPredicateMessage) Reset ¶
func (m *QueryPredicateMessage) Reset()
func (*QueryPredicateMessage) String ¶
func (m *QueryPredicateMessage) String() string
type QueryRowJoinEntryMessage ¶
type QueryRowJoinEntryMessage struct { Entry string `protobuf:"bytes,1,opt,name=entry" json:"entry,omitempty"` Point string `protobuf:"bytes,2,opt,name=point" json:"point,omitempty"` }
func (*QueryRowJoinEntryMessage) Descriptor ¶
func (*QueryRowJoinEntryMessage) Descriptor() ([]byte, []int)
func (*QueryRowJoinEntryMessage) GetEntry ¶
func (m *QueryRowJoinEntryMessage) GetEntry() string
func (*QueryRowJoinEntryMessage) GetPoint ¶
func (m *QueryRowJoinEntryMessage) GetPoint() string
func (*QueryRowJoinEntryMessage) ProtoMessage ¶
func (*QueryRowJoinEntryMessage) ProtoMessage()
func (*QueryRowJoinEntryMessage) Reset ¶
func (m *QueryRowJoinEntryMessage) Reset()
func (*QueryRowJoinEntryMessage) String ¶
func (m *QueryRowJoinEntryMessage) String() string
type QueryRowJoinMessage ¶
type QueryRowJoinMessage struct { Row string `protobuf:"bytes,1,opt,name=row" json:"row,omitempty"` Entries []*QueryRowJoinEntryMessage `protobuf:"bytes,2,rep,name=entries" json:"entries,omitempty"` }
func (*QueryRowJoinMessage) Descriptor ¶
func (*QueryRowJoinMessage) Descriptor() ([]byte, []int)
func (*QueryRowJoinMessage) GetEntries ¶
func (m *QueryRowJoinMessage) GetEntries() []*QueryRowJoinEntryMessage
func (*QueryRowJoinMessage) GetRow ¶
func (m *QueryRowJoinMessage) GetRow() string
func (*QueryRowJoinMessage) ProtoMessage ¶
func (*QueryRowJoinMessage) ProtoMessage()
func (*QueryRowJoinMessage) Reset ¶
func (m *QueryRowJoinMessage) Reset()
func (*QueryRowJoinMessage) String ¶
func (m *QueryRowJoinMessage) String() string
type QuerySelectMessage ¶
type QuerySelectMessage struct { Limit uint32 `protobuf:"varint,1,opt,name=limit" json:"limit,omitempty"` Where *QueryWhereMessage `protobuf:"bytes,2,opt,name=where" json:"where,omitempty"` }
func (*QuerySelectMessage) Descriptor ¶
func (*QuerySelectMessage) Descriptor() ([]byte, []int)
func (*QuerySelectMessage) GetLimit ¶
func (m *QuerySelectMessage) GetLimit() uint32
func (*QuerySelectMessage) GetWhere ¶
func (m *QuerySelectMessage) GetWhere() *QueryWhereMessage
func (*QuerySelectMessage) ProtoMessage ¶
func (*QuerySelectMessage) ProtoMessage()
func (*QuerySelectMessage) Reset ¶
func (m *QuerySelectMessage) Reset()
func (*QuerySelectMessage) String ¶
func (m *QuerySelectMessage) String() string
type QueryWhereMessage ¶
type QueryWhereMessage struct { OpCode uint32 `protobuf:"varint,1,opt,name=opCode" json:"opCode,omitempty"` Predicate *QueryPredicateMessage `protobuf:"bytes,2,opt,name=predicate" json:"predicate,omitempty"` Clauses []*QueryWhereMessage `protobuf:"bytes,3,rep,name=clauses" json:"clauses,omitempty"` }
func (*QueryWhereMessage) Descriptor ¶
func (*QueryWhereMessage) Descriptor() ([]byte, []int)
func (*QueryWhereMessage) GetClauses ¶
func (m *QueryWhereMessage) GetClauses() []*QueryWhereMessage
func (*QueryWhereMessage) GetOpCode ¶
func (m *QueryWhereMessage) GetOpCode() uint32
func (*QueryWhereMessage) GetPredicate ¶
func (m *QueryWhereMessage) GetPredicate() *QueryPredicateMessage
func (*QueryWhereMessage) ProtoMessage ¶
func (*QueryWhereMessage) ProtoMessage()
func (*QueryWhereMessage) Reset ¶
func (m *QueryWhereMessage) Reset()
func (*QueryWhereMessage) String ¶
func (m *QueryWhereMessage) String() string
type ReplicateMessage ¶
type ReplicateMessage struct {
Links []*LinkMessage `protobuf:"bytes,1,rep,name=links" json:"links,omitempty"`
}
func (*ReplicateMessage) Descriptor ¶
func (*ReplicateMessage) Descriptor() ([]byte, []int)
func (*ReplicateMessage) GetLinks ¶
func (m *ReplicateMessage) GetLinks() []*LinkMessage
func (*ReplicateMessage) ProtoMessage ¶
func (*ReplicateMessage) ProtoMessage()
func (*ReplicateMessage) Reset ¶
func (m *ReplicateMessage) Reset()
func (*ReplicateMessage) String ¶
func (m *ReplicateMessage) String() string
Click to show internal directories.
Click to hide internal directories.