Documentation ¶
Overview ¶
Package schema is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- func Merge(payload []byte, timestamp uint64) (merged []byte, err error)
- func Pattern_ImmuService_History_0() runtime.Pattern
- func Pattern_ImmuService_SafeGet_0() runtime.Pattern
- func Pattern_ImmuService_SafeReference_0() runtime.Pattern
- func Pattern_ImmuService_SafeSet_0() runtime.Pattern
- func Pattern_ImmuService_SafeZAdd_0() runtime.Pattern
- func Pattern_ImmuService_Set_0() runtime.Pattern
- func RegisterImmuServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterImmuServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ImmuServiceClient) error
- func RegisterImmuServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterImmuServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ImmuServiceServer) error
- func RegisterImmuServiceServer(s *grpc.Server, srv ImmuServiceServer)
- type AuthConfig
- func (*AuthConfig) Descriptor() ([]byte, []int)
- func (m *AuthConfig) GetKind() uint32
- func (*AuthConfig) ProtoMessage()
- func (m *AuthConfig) Reset()
- func (m *AuthConfig) String() string
- func (m *AuthConfig) XXX_DiscardUnknown()
- func (m *AuthConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthConfig) XXX_Merge(src proto.Message)
- func (m *AuthConfig) XXX_Size() int
- func (m *AuthConfig) XXX_Unmarshal(b []byte) error
- type ChangePasswordRequest
- func (*ChangePasswordRequest) Descriptor() ([]byte, []int)
- func (m *ChangePasswordRequest) GetNewPassword() []byte
- func (m *ChangePasswordRequest) GetOldPassword() []byte
- func (m *ChangePasswordRequest) GetUser() []byte
- func (*ChangePasswordRequest) ProtoMessage()
- func (m *ChangePasswordRequest) Reset()
- func (m *ChangePasswordRequest) String() string
- func (m *ChangePasswordRequest) XXX_DiscardUnknown()
- func (m *ChangePasswordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChangePasswordRequest) XXX_Merge(src proto.Message)
- func (m *ChangePasswordRequest) XXX_Size() int
- func (m *ChangePasswordRequest) XXX_Unmarshal(b []byte) error
- type ConsistencyProof
- func (*ConsistencyProof) Descriptor() ([]byte, []int)
- func (m *ConsistencyProof) GetFirst() uint64
- func (m *ConsistencyProof) GetFirstRoot() []byte
- func (m *ConsistencyProof) GetPath() [][]byte
- func (m *ConsistencyProof) GetSecond() uint64
- func (m *ConsistencyProof) GetSecondRoot() []byte
- func (*ConsistencyProof) ProtoMessage()
- func (m *ConsistencyProof) Reset()
- func (m *ConsistencyProof) String() string
- func (c *ConsistencyProof) Verify(prevRoot Root) bool
- func (m *ConsistencyProof) XXX_DiscardUnknown()
- func (m *ConsistencyProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsistencyProof) XXX_Merge(src proto.Message)
- func (m *ConsistencyProof) XXX_Size() int
- func (m *ConsistencyProof) XXX_Unmarshal(b []byte) error
- type Content
- func (*Content) Descriptor() ([]byte, []int)
- func (m *Content) GetPayload() []byte
- func (m *Content) GetTimestamp() uint64
- func (*Content) ProtoMessage()
- func (m *Content) Reset()
- func (m *Content) String() string
- func (m *Content) XXX_DiscardUnknown()
- func (m *Content) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Content) XXX_Merge(src proto.Message)
- func (m *Content) XXX_Size() int
- func (m *Content) XXX_Unmarshal(b []byte) error
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)
- func (m *CreateUserRequest) GetPassword() []byte
- func (m *CreateUserRequest) GetPermissions() []byte
- func (m *CreateUserRequest) GetUser() []byte
- func (*CreateUserRequest) ProtoMessage()
- func (m *CreateUserRequest) Reset()
- func (m *CreateUserRequest) String() string
- func (m *CreateUserRequest) XXX_DiscardUnknown()
- func (m *CreateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateUserRequest) XXX_Merge(src proto.Message)
- func (m *CreateUserRequest) XXX_Size() int
- func (m *CreateUserRequest) XXX_Unmarshal(b []byte) error
- type HealthResponse
- func (*HealthResponse) Descriptor() ([]byte, []int)
- func (m *HealthResponse) GetStatus() bool
- func (*HealthResponse) ProtoMessage()
- func (m *HealthResponse) Reset()
- func (m *HealthResponse) String() string
- func (m *HealthResponse) XXX_DiscardUnknown()
- func (m *HealthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HealthResponse) XXX_Merge(src proto.Message)
- func (m *HealthResponse) XXX_Size() int
- func (m *HealthResponse) XXX_Unmarshal(b []byte) error
- type IScanOptions
- func (*IScanOptions) Descriptor() ([]byte, []int)
- func (m *IScanOptions) GetPageNumber() uint64
- func (m *IScanOptions) GetPageSize() uint64
- func (*IScanOptions) ProtoMessage()
- func (m *IScanOptions) Reset()
- func (m *IScanOptions) String() string
- func (m *IScanOptions) XXX_DiscardUnknown()
- func (m *IScanOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IScanOptions) XXX_Merge(src proto.Message)
- func (m *IScanOptions) XXX_Size() int
- func (m *IScanOptions) XXX_Unmarshal(b []byte) error
- type ImmuServiceClient
- type ImmuServiceServer
- type ImmuService_DumpClient
- type ImmuService_DumpServer
- type InclusionProof
- func (*InclusionProof) Descriptor() ([]byte, []int)
- func (m *InclusionProof) GetAt() uint64
- func (m *InclusionProof) GetIndex() uint64
- func (m *InclusionProof) GetLeaf() []byte
- func (m *InclusionProof) GetPath() [][]byte
- func (m *InclusionProof) GetRoot() []byte
- func (*InclusionProof) ProtoMessage()
- func (m *InclusionProof) Reset()
- func (m *InclusionProof) String() string
- func (i *InclusionProof) Verify(index uint64, leaf []byte) bool
- func (m *InclusionProof) XXX_DiscardUnknown()
- func (m *InclusionProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InclusionProof) XXX_Merge(src proto.Message)
- func (m *InclusionProof) XXX_Size() int
- func (m *InclusionProof) XXX_Unmarshal(b []byte) error
- type Index
- func (*Index) Descriptor() ([]byte, []int)
- func (m *Index) GetIndex() uint64
- func (*Index) ProtoMessage()
- func (m *Index) Reset()
- func (m *Index) String() string
- func (m *Index) XXX_DiscardUnknown()
- func (m *Index) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Index) XXX_Merge(src proto.Message)
- func (m *Index) XXX_Size() int
- func (m *Index) XXX_Unmarshal(b []byte) error
- type Item
- func (*Item) Descriptor() ([]byte, []int)
- func (m *Item) GetIndex() uint64
- func (m *Item) GetKey() []byte
- func (m *Item) GetValue() []byte
- func (i *Item) Hash() []byte
- func (m *Item) MarshalJSON() ([]byte, error)
- func (*Item) ProtoMessage()
- func (m *Item) Reset()
- func (m *Item) String() string
- func (item *Item) ToSItem() (*StructuredItem, error)
- func (m *Item) XXX_DiscardUnknown()
- func (m *Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Item) XXX_Merge(src proto.Message)
- func (m *Item) XXX_Size() int
- func (m *Item) XXX_Unmarshal(b []byte) error
- type ItemList
- func (*ItemList) Descriptor() ([]byte, []int)
- func (m *ItemList) GetItems() []*Item
- func (*ItemList) ProtoMessage()
- func (m *ItemList) Reset()
- func (m *ItemList) String() string
- func (list *ItemList) ToSItemList() (*StructuredItemList, error)
- func (m *ItemList) XXX_DiscardUnknown()
- func (m *ItemList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ItemList) XXX_Merge(src proto.Message)
- func (m *ItemList) XXX_Size() int
- func (m *ItemList) XXX_Unmarshal(b []byte) error
- type ItemsCount
- func (*ItemsCount) Descriptor() ([]byte, []int)
- func (m *ItemsCount) GetCount() uint64
- func (*ItemsCount) ProtoMessage()
- func (m *ItemsCount) Reset()
- func (m *ItemsCount) String() string
- func (m *ItemsCount) XXX_DiscardUnknown()
- func (m *ItemsCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ItemsCount) XXX_Merge(src proto.Message)
- func (m *ItemsCount) XXX_Size() int
- func (m *ItemsCount) XXX_Unmarshal(b []byte) error
- type KVList
- func (*KVList) Descriptor() ([]byte, []int)
- func (m *KVList) GetKVs() []*KeyValue
- func (*KVList) ProtoMessage()
- func (m *KVList) Reset()
- func (m *KVList) String() string
- func (m *KVList) XXX_DiscardUnknown()
- func (m *KVList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KVList) XXX_Merge(src proto.Message)
- func (m *KVList) XXX_Size() int
- func (m *KVList) XXX_Unmarshal(b []byte) error
- type Key
- func (*Key) Descriptor() ([]byte, []int)
- func (m *Key) GetKey() []byte
- func (*Key) ProtoMessage()
- func (m *Key) Reset()
- func (m *Key) String() string
- func (m *Key) XXX_DiscardUnknown()
- func (m *Key) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Key) XXX_Merge(src proto.Message)
- func (m *Key) XXX_Size() int
- func (m *Key) XXX_Unmarshal(b []byte) error
- type KeyList
- func (*KeyList) Descriptor() ([]byte, []int)
- func (m *KeyList) GetKeys() []*Key
- func (*KeyList) ProtoMessage()
- func (m *KeyList) Reset()
- func (m *KeyList) String() string
- func (m *KeyList) XXX_DiscardUnknown()
- func (m *KeyList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeyList) XXX_Merge(src proto.Message)
- func (m *KeyList) XXX_Size() int
- func (m *KeyList) XXX_Unmarshal(b []byte) error
- type KeyPrefix
- func (*KeyPrefix) Descriptor() ([]byte, []int)
- func (m *KeyPrefix) GetPrefix() []byte
- func (*KeyPrefix) ProtoMessage()
- func (m *KeyPrefix) Reset()
- func (m *KeyPrefix) String() string
- func (m *KeyPrefix) XXX_DiscardUnknown()
- func (m *KeyPrefix) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeyPrefix) XXX_Merge(src proto.Message)
- func (m *KeyPrefix) XXX_Size() int
- func (m *KeyPrefix) XXX_Unmarshal(b []byte) error
- type KeyValue
- func (*KeyValue) Descriptor() ([]byte, []int)
- func (m *KeyValue) GetKey() []byte
- func (m *KeyValue) GetValue() []byte
- func (*KeyValue) ProtoMessage()
- func (m *KeyValue) Reset()
- func (m *KeyValue) String() string
- func (m *KeyValue) XXX_DiscardUnknown()
- func (m *KeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeyValue) XXX_Merge(src proto.Message)
- func (m *KeyValue) XXX_Size() int
- func (m *KeyValue) XXX_Unmarshal(b []byte) error
- type Layer
- func (*Layer) Descriptor() ([]byte, []int)
- func (m *Layer) GetL() []*Node
- func (*Layer) ProtoMessage()
- func (m *Layer) Reset()
- func (m *Layer) String() string
- func (m *Layer) XXX_DiscardUnknown()
- func (m *Layer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Layer) XXX_Merge(src proto.Message)
- func (m *Layer) XXX_Size() int
- func (m *Layer) XXX_Unmarshal(b []byte) error
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)
- func (m *LoginRequest) GetPassword() []byte
- func (m *LoginRequest) GetUser() []byte
- func (*LoginRequest) ProtoMessage()
- func (m *LoginRequest) Reset()
- func (m *LoginRequest) String() string
- func (m *LoginRequest) XXX_DiscardUnknown()
- func (m *LoginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoginRequest) XXX_Merge(src proto.Message)
- func (m *LoginRequest) XXX_Size() int
- func (m *LoginRequest) XXX_Unmarshal(b []byte) error
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)
- func (m *LoginResponse) GetToken() []byte
- func (m *LoginResponse) GetWarning() []byte
- func (*LoginResponse) ProtoMessage()
- func (m *LoginResponse) Reset()
- func (m *LoginResponse) String() string
- func (m *LoginResponse) XXX_DiscardUnknown()
- func (m *LoginResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoginResponse) XXX_Merge(src proto.Message)
- func (m *LoginResponse) XXX_Size() int
- func (m *LoginResponse) XXX_Unmarshal(b []byte) error
- type MTLSConfig
- func (*MTLSConfig) Descriptor() ([]byte, []int)
- func (m *MTLSConfig) GetEnabled() bool
- func (*MTLSConfig) ProtoMessage()
- func (m *MTLSConfig) Reset()
- func (m *MTLSConfig) String() string
- func (m *MTLSConfig) XXX_DiscardUnknown()
- func (m *MTLSConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MTLSConfig) XXX_Merge(src proto.Message)
- func (m *MTLSConfig) XXX_Size() int
- func (m *MTLSConfig) XXX_Unmarshal(b []byte) error
- type Node
- func (*Node) Descriptor() ([]byte, []int)
- func (m *Node) GetCache() bool
- func (m *Node) GetH() []byte
- func (m *Node) GetI() []byte
- func (m *Node) GetRef() bool
- func (m *Node) GetRefk() []byte
- func (m *Node) GetRoot() bool
- func (*Node) ProtoMessage()
- func (m *Node) Reset()
- func (m *Node) String() string
- func (m *Node) XXX_DiscardUnknown()
- func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Node) XXX_Merge(src proto.Message)
- func (m *Node) XXX_Size() int
- func (m *Node) XXX_Unmarshal(b []byte) error
- type Page
- func (*Page) Descriptor() ([]byte, []int)
- func (m *Page) GetItems() []*Item
- func (m *Page) GetMore() bool
- func (*Page) ProtoMessage()
- func (m *Page) Reset()
- func (m *Page) String() string
- func (list *Page) ToSPage() (*SPage, error)
- func (m *Page) XXX_DiscardUnknown()
- func (m *Page) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Page) XXX_Merge(src proto.Message)
- func (m *Page) XXX_Size() int
- func (m *Page) XXX_Unmarshal(b []byte) error
- type Proof
- func (*Proof) Descriptor() ([]byte, []int)
- func (m *Proof) GetAt() uint64
- func (m *Proof) GetConsistencyPath() [][]byte
- func (m *Proof) GetInclusionPath() [][]byte
- func (m *Proof) GetIndex() uint64
- func (m *Proof) GetLeaf() []byte
- func (m *Proof) GetRoot() []byte
- func (p *Proof) NewRoot() *Root
- func (*Proof) ProtoMessage()
- func (m *Proof) Reset()
- func (m *Proof) String() string
- func (p *Proof) Verify(leaf []byte, prevRoot Root) bool
- func (m *Proof) XXX_DiscardUnknown()
- func (m *Proof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Proof) XXX_Merge(src proto.Message)
- func (m *Proof) XXX_Size() int
- func (m *Proof) XXX_Unmarshal(b []byte) error
- type ReferenceOptions
- func (*ReferenceOptions) Descriptor() ([]byte, []int)
- func (m *ReferenceOptions) GetKey() []byte
- func (m *ReferenceOptions) GetReference() []byte
- func (*ReferenceOptions) ProtoMessage()
- func (m *ReferenceOptions) Reset()
- func (m *ReferenceOptions) String() string
- func (m *ReferenceOptions) XXX_DiscardUnknown()
- func (m *ReferenceOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReferenceOptions) XXX_Merge(src proto.Message)
- func (m *ReferenceOptions) XXX_Size() int
- func (m *ReferenceOptions) XXX_Unmarshal(b []byte) error
- type Root
- func (*Root) Descriptor() ([]byte, []int)
- func (m *Root) GetIndex() uint64
- func (m *Root) GetRoot() []byte
- func (*Root) ProtoMessage()
- func (m *Root) Reset()
- func (m *Root) String() string
- func (m *Root) XXX_DiscardUnknown()
- func (m *Root) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Root) XXX_Merge(src proto.Message)
- func (m *Root) XXX_Size() int
- func (m *Root) XXX_Unmarshal(b []byte) error
- type SKVList
- func (*SKVList) Descriptor() ([]byte, []int)
- func (m *SKVList) GetSKVs() []*StructuredKeyValue
- func (*SKVList) ProtoMessage()
- func (m *SKVList) Reset()
- func (m *SKVList) String() string
- func (skvl *SKVList) ToKVList() (*KVList, error)
- func (m *SKVList) XXX_DiscardUnknown()
- func (m *SKVList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SKVList) XXX_Merge(src proto.Message)
- func (m *SKVList) XXX_Size() int
- func (m *SKVList) XXX_Unmarshal(b []byte) error
- type SPage
- func (*SPage) Descriptor() ([]byte, []int)
- func (m *SPage) GetItems() []*StructuredItem
- func (m *SPage) GetMore() bool
- func (m *SPage) GetPageNum() uint64
- func (*SPage) ProtoMessage()
- func (m *SPage) Reset()
- func (m *SPage) String() string
- func (m *SPage) XXX_DiscardUnknown()
- func (m *SPage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SPage) XXX_Merge(src proto.Message)
- func (m *SPage) XXX_Size() int
- func (m *SPage) XXX_Unmarshal(b []byte) error
- type SafeGetOptions
- func (*SafeGetOptions) Descriptor() ([]byte, []int)
- func (m *SafeGetOptions) GetKey() []byte
- func (m *SafeGetOptions) GetRootIndex() *Index
- func (*SafeGetOptions) ProtoMessage()
- func (m *SafeGetOptions) Reset()
- func (m *SafeGetOptions) String() string
- func (m *SafeGetOptions) XXX_DiscardUnknown()
- func (m *SafeGetOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SafeGetOptions) XXX_Merge(src proto.Message)
- func (m *SafeGetOptions) XXX_Size() int
- func (m *SafeGetOptions) XXX_Unmarshal(b []byte) error
- type SafeIndexOptions
- func (*SafeIndexOptions) Descriptor() ([]byte, []int)
- func (m *SafeIndexOptions) GetIndex() uint64
- func (m *SafeIndexOptions) GetRootIndex() *Index
- func (*SafeIndexOptions) ProtoMessage()
- func (m *SafeIndexOptions) Reset()
- func (m *SafeIndexOptions) String() string
- func (m *SafeIndexOptions) XXX_DiscardUnknown()
- func (m *SafeIndexOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SafeIndexOptions) XXX_Merge(src proto.Message)
- func (m *SafeIndexOptions) XXX_Size() int
- func (m *SafeIndexOptions) XXX_Unmarshal(b []byte) error
- type SafeItem
- func (*SafeItem) Descriptor() ([]byte, []int)
- func (m *SafeItem) GetItem() *Item
- func (m *SafeItem) GetProof() *Proof
- func (s *SafeItem) Hash() ([]byte, error)
- func (*SafeItem) ProtoMessage()
- func (m *SafeItem) Reset()
- func (m *SafeItem) String() string
- func (item *SafeItem) ToSafeSItem() (*SafeStructuredItem, error)
- func (m *SafeItem) XXX_DiscardUnknown()
- func (m *SafeItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SafeItem) XXX_Merge(src proto.Message)
- func (m *SafeItem) XXX_Size() int
- func (m *SafeItem) XXX_Unmarshal(b []byte) error
- type SafeReferenceOptions
- func (*SafeReferenceOptions) Descriptor() ([]byte, []int)
- func (m *SafeReferenceOptions) GetRo() *ReferenceOptions
- func (m *SafeReferenceOptions) GetRootIndex() *Index
- func (*SafeReferenceOptions) ProtoMessage()
- func (m *SafeReferenceOptions) Reset()
- func (m *SafeReferenceOptions) String() string
- func (m *SafeReferenceOptions) XXX_DiscardUnknown()
- func (m *SafeReferenceOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SafeReferenceOptions) XXX_Merge(src proto.Message)
- func (m *SafeReferenceOptions) XXX_Size() int
- func (m *SafeReferenceOptions) XXX_Unmarshal(b []byte) error
- type SafeSetOptions
- func (*SafeSetOptions) Descriptor() ([]byte, []int)
- func (m *SafeSetOptions) GetKv() *KeyValue
- func (m *SafeSetOptions) GetRootIndex() *Index
- func (*SafeSetOptions) ProtoMessage()
- func (m *SafeSetOptions) Reset()
- func (m *SafeSetOptions) String() string
- func (m *SafeSetOptions) XXX_DiscardUnknown()
- func (m *SafeSetOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SafeSetOptions) XXX_Merge(src proto.Message)
- func (m *SafeSetOptions) XXX_Size() int
- func (m *SafeSetOptions) XXX_Unmarshal(b []byte) error
- type SafeSetSVOptions
- func (*SafeSetSVOptions) Descriptor() ([]byte, []int)
- func (m *SafeSetSVOptions) GetRootIndex() *Index
- func (m *SafeSetSVOptions) GetSkv() *StructuredKeyValue
- func (*SafeSetSVOptions) ProtoMessage()
- func (m *SafeSetSVOptions) Reset()
- func (m *SafeSetSVOptions) String() string
- func (m *SafeSetSVOptions) XXX_DiscardUnknown()
- func (m *SafeSetSVOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SafeSetSVOptions) XXX_Merge(src proto.Message)
- func (m *SafeSetSVOptions) XXX_Size() int
- func (m *SafeSetSVOptions) XXX_Unmarshal(b []byte) error
- type SafeStructuredItem
- func (*SafeStructuredItem) Descriptor() ([]byte, []int)
- func (m *SafeStructuredItem) GetItem() *StructuredItem
- func (m *SafeStructuredItem) GetProof() *Proof
- func (*SafeStructuredItem) ProtoMessage()
- func (m *SafeStructuredItem) Reset()
- func (m *SafeStructuredItem) String() string
- func (m *SafeStructuredItem) XXX_DiscardUnknown()
- func (m *SafeStructuredItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SafeStructuredItem) XXX_Merge(src proto.Message)
- func (m *SafeStructuredItem) XXX_Size() int
- func (m *SafeStructuredItem) XXX_Unmarshal(b []byte) error
- type SafeZAddOptions
- func (*SafeZAddOptions) Descriptor() ([]byte, []int)
- func (m *SafeZAddOptions) GetRootIndex() *Index
- func (m *SafeZAddOptions) GetZopts() *ZAddOptions
- func (*SafeZAddOptions) ProtoMessage()
- func (m *SafeZAddOptions) Reset()
- func (m *SafeZAddOptions) String() string
- func (m *SafeZAddOptions) XXX_DiscardUnknown()
- func (m *SafeZAddOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SafeZAddOptions) XXX_Merge(src proto.Message)
- func (m *SafeZAddOptions) XXX_Size() int
- func (m *SafeZAddOptions) XXX_Unmarshal(b []byte) error
- type ScanOptions
- func (*ScanOptions) Descriptor() ([]byte, []int)
- func (m *ScanOptions) GetDeep() bool
- func (m *ScanOptions) GetLimit() uint64
- func (m *ScanOptions) GetOffset() []byte
- func (m *ScanOptions) GetPrefix() []byte
- func (m *ScanOptions) GetReverse() bool
- func (*ScanOptions) ProtoMessage()
- func (m *ScanOptions) Reset()
- func (m *ScanOptions) String() string
- func (m *ScanOptions) XXX_DiscardUnknown()
- func (m *ScanOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ScanOptions) XXX_Merge(src proto.Message)
- func (m *ScanOptions) XXX_Size() int
- func (m *ScanOptions) XXX_Unmarshal(b []byte) error
- type StructuredItem
- func (*StructuredItem) Descriptor() ([]byte, []int)
- func (m *StructuredItem) GetIndex() uint64
- func (m *StructuredItem) GetKey() []byte
- func (m *StructuredItem) GetValue() *Content
- func (si *StructuredItem) Hash() ([]byte, error)
- func (m *StructuredItem) MarshalJSON() ([]byte, error)
- func (*StructuredItem) ProtoMessage()
- func (m *StructuredItem) Reset()
- func (m *StructuredItem) String() string
- func (item *StructuredItem) ToItem() (*Item, error)
- func (m *StructuredItem) XXX_DiscardUnknown()
- func (m *StructuredItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StructuredItem) XXX_Merge(src proto.Message)
- func (m *StructuredItem) XXX_Size() int
- func (m *StructuredItem) XXX_Unmarshal(b []byte) error
- type StructuredItemList
- func (*StructuredItemList) Descriptor() ([]byte, []int)
- func (m *StructuredItemList) GetItems() []*StructuredItem
- func (*StructuredItemList) ProtoMessage()
- func (m *StructuredItemList) Reset()
- func (m *StructuredItemList) String() string
- func (m *StructuredItemList) XXX_DiscardUnknown()
- func (m *StructuredItemList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StructuredItemList) XXX_Merge(src proto.Message)
- func (m *StructuredItemList) XXX_Size() int
- func (m *StructuredItemList) XXX_Unmarshal(b []byte) error
- type StructuredKeyValue
- func (*StructuredKeyValue) Descriptor() ([]byte, []int)
- func (m *StructuredKeyValue) GetKey() []byte
- func (m *StructuredKeyValue) GetValue() *Content
- func (*StructuredKeyValue) ProtoMessage()
- func (m *StructuredKeyValue) Reset()
- func (m *StructuredKeyValue) String() string
- func (skv *StructuredKeyValue) ToKV() (*KeyValue, error)
- func (m *StructuredKeyValue) XXX_DiscardUnknown()
- func (m *StructuredKeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StructuredKeyValue) XXX_Merge(src proto.Message)
- func (m *StructuredKeyValue) XXX_Size() int
- func (m *StructuredKeyValue) XXX_Unmarshal(b []byte) error
- type Tree
- func (*Tree) Descriptor() ([]byte, []int)
- func (m *Tree) GetT() []*Layer
- func (*Tree) ProtoMessage()
- func (m *Tree) Reset()
- func (m *Tree) String() string
- func (m *Tree) XXX_DiscardUnknown()
- func (m *Tree) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Tree) XXX_Merge(src proto.Message)
- func (m *Tree) XXX_Size() int
- func (m *Tree) XXX_Unmarshal(b []byte) error
- type UnimplementedImmuServiceServer
- func (*UnimplementedImmuServiceServer) ByIndex(ctx context.Context, req *Index) (*Item, error)
- func (*UnimplementedImmuServiceServer) ByIndexSV(ctx context.Context, req *Index) (*StructuredItem, error)
- func (*UnimplementedImmuServiceServer) BySafeIndex(ctx context.Context, req *SafeIndexOptions) (*SafeItem, error)
- func (*UnimplementedImmuServiceServer) ChangePassword(ctx context.Context, req *ChangePasswordRequest) (*empty.Empty, error)
- func (*UnimplementedImmuServiceServer) Consistency(ctx context.Context, req *Index) (*ConsistencyProof, error)
- func (*UnimplementedImmuServiceServer) Count(ctx context.Context, req *KeyPrefix) (*ItemsCount, error)
- func (*UnimplementedImmuServiceServer) CreateUser(ctx context.Context, req *CreateUserRequest) (*UserResponse, error)
- func (*UnimplementedImmuServiceServer) CurrentRoot(ctx context.Context, req *empty.Empty) (*Root, error)
- func (*UnimplementedImmuServiceServer) DeactivateUser(ctx context.Context, req *UserRequest) (*empty.Empty, error)
- func (*UnimplementedImmuServiceServer) Dump(req *empty.Empty, srv ImmuService_DumpServer) error
- func (*UnimplementedImmuServiceServer) Get(ctx context.Context, req *Key) (*Item, error)
- func (*UnimplementedImmuServiceServer) GetBatch(ctx context.Context, req *KeyList) (*ItemList, error)
- func (*UnimplementedImmuServiceServer) GetBatchSV(ctx context.Context, req *KeyList) (*StructuredItemList, error)
- func (*UnimplementedImmuServiceServer) GetSV(ctx context.Context, req *Key) (*StructuredItem, error)
- func (*UnimplementedImmuServiceServer) GetUser(ctx context.Context, req *UserRequest) (*UserResponse, error)
- func (*UnimplementedImmuServiceServer) Health(ctx context.Context, req *empty.Empty) (*HealthResponse, error)
- func (*UnimplementedImmuServiceServer) History(ctx context.Context, req *Key) (*ItemList, error)
- func (*UnimplementedImmuServiceServer) HistorySV(ctx context.Context, req *Key) (*StructuredItemList, error)
- func (*UnimplementedImmuServiceServer) IScan(ctx context.Context, req *IScanOptions) (*Page, error)
- func (*UnimplementedImmuServiceServer) IScanSV(ctx context.Context, req *IScanOptions) (*SPage, error)
- func (*UnimplementedImmuServiceServer) Inclusion(ctx context.Context, req *Index) (*InclusionProof, error)
- func (*UnimplementedImmuServiceServer) ListUsers(ctx context.Context, req *empty.Empty) (*UserList, error)
- func (*UnimplementedImmuServiceServer) Login(ctx context.Context, req *LoginRequest) (*LoginResponse, error)
- func (*UnimplementedImmuServiceServer) Logout(ctx context.Context, req *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedImmuServiceServer) PrintTree(ctx context.Context, req *empty.Empty) (*Tree, error)
- func (*UnimplementedImmuServiceServer) Reference(ctx context.Context, req *ReferenceOptions) (*Index, error)
- func (*UnimplementedImmuServiceServer) SafeGet(ctx context.Context, req *SafeGetOptions) (*SafeItem, error)
- func (*UnimplementedImmuServiceServer) SafeGetSV(ctx context.Context, req *SafeGetOptions) (*SafeStructuredItem, error)
- func (*UnimplementedImmuServiceServer) SafeReference(ctx context.Context, req *SafeReferenceOptions) (*Proof, error)
- func (*UnimplementedImmuServiceServer) SafeSet(ctx context.Context, req *SafeSetOptions) (*Proof, error)
- func (*UnimplementedImmuServiceServer) SafeSetSV(ctx context.Context, req *SafeSetSVOptions) (*Proof, error)
- func (*UnimplementedImmuServiceServer) SafeZAdd(ctx context.Context, req *SafeZAddOptions) (*Proof, error)
- func (*UnimplementedImmuServiceServer) Scan(ctx context.Context, req *ScanOptions) (*ItemList, error)
- func (*UnimplementedImmuServiceServer) ScanSV(ctx context.Context, req *ScanOptions) (*StructuredItemList, error)
- func (*UnimplementedImmuServiceServer) Set(ctx context.Context, req *KeyValue) (*Index, error)
- func (*UnimplementedImmuServiceServer) SetBatch(ctx context.Context, req *KVList) (*Index, error)
- func (*UnimplementedImmuServiceServer) SetBatchSV(ctx context.Context, req *SKVList) (*Index, error)
- func (*UnimplementedImmuServiceServer) SetPermission(ctx context.Context, req *Item) (*empty.Empty, error)
- func (*UnimplementedImmuServiceServer) SetSV(ctx context.Context, req *StructuredKeyValue) (*Index, error)
- func (*UnimplementedImmuServiceServer) UpdateAuthConfig(ctx context.Context, req *AuthConfig) (*empty.Empty, error)
- func (*UnimplementedImmuServiceServer) UpdateMTLSConfig(ctx context.Context, req *MTLSConfig) (*empty.Empty, error)
- func (*UnimplementedImmuServiceServer) ZAdd(ctx context.Context, req *ZAddOptions) (*Index, error)
- func (*UnimplementedImmuServiceServer) ZScan(ctx context.Context, req *ZScanOptions) (*ItemList, error)
- func (*UnimplementedImmuServiceServer) ZScanSV(ctx context.Context, req *ZScanOptions) (*StructuredItemList, error)
- type User
- func (*User) Descriptor() ([]byte, []int)
- func (m *User) GetPermissions() []byte
- func (m *User) GetUser() []byte
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) String() string
- func (m *User) XXX_DiscardUnknown()
- func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *User) XXX_Merge(src proto.Message)
- func (m *User) XXX_Size() int
- func (m *User) XXX_Unmarshal(b []byte) error
- type UserList
- func (*UserList) Descriptor() ([]byte, []int)
- func (m *UserList) GetUsers() []*User
- func (*UserList) ProtoMessage()
- func (m *UserList) Reset()
- func (m *UserList) String() string
- func (m *UserList) XXX_DiscardUnknown()
- func (m *UserList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserList) XXX_Merge(src proto.Message)
- func (m *UserList) XXX_Size() int
- func (m *UserList) XXX_Unmarshal(b []byte) error
- type UserRequest
- func (*UserRequest) Descriptor() ([]byte, []int)
- func (m *UserRequest) GetUser() []byte
- func (*UserRequest) ProtoMessage()
- func (m *UserRequest) Reset()
- func (m *UserRequest) String() string
- func (m *UserRequest) XXX_DiscardUnknown()
- func (m *UserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserRequest) XXX_Merge(src proto.Message)
- func (m *UserRequest) XXX_Size() int
- func (m *UserRequest) XXX_Unmarshal(b []byte) error
- type UserResponse
- func (*UserResponse) Descriptor() ([]byte, []int)
- func (m *UserResponse) GetPermissions() []byte
- func (m *UserResponse) GetUser() []byte
- func (*UserResponse) ProtoMessage()
- func (m *UserResponse) Reset()
- func (m *UserResponse) String() string
- func (m *UserResponse) XXX_DiscardUnknown()
- func (m *UserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserResponse) XXX_Merge(src proto.Message)
- func (m *UserResponse) XXX_Size() int
- func (m *UserResponse) XXX_Unmarshal(b []byte) error
- type ZAddOptions
- func (*ZAddOptions) Descriptor() ([]byte, []int)
- func (m *ZAddOptions) GetKey() []byte
- func (m *ZAddOptions) GetScore() float64
- func (m *ZAddOptions) GetSet() []byte
- func (*ZAddOptions) ProtoMessage()
- func (m *ZAddOptions) Reset()
- func (m *ZAddOptions) String() string
- func (m *ZAddOptions) XXX_DiscardUnknown()
- func (m *ZAddOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ZAddOptions) XXX_Merge(src proto.Message)
- func (m *ZAddOptions) XXX_Size() int
- func (m *ZAddOptions) XXX_Unmarshal(b []byte) error
- type ZScanOptions
- func (*ZScanOptions) Descriptor() ([]byte, []int)
- func (m *ZScanOptions) GetLimit() uint64
- func (m *ZScanOptions) GetOffset() []byte
- func (m *ZScanOptions) GetReverse() bool
- func (m *ZScanOptions) GetSet() []byte
- func (*ZScanOptions) ProtoMessage()
- func (m *ZScanOptions) Reset()
- func (m *ZScanOptions) String() string
- func (m *ZScanOptions) XXX_DiscardUnknown()
- func (m *ZScanOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ZScanOptions) XXX_Merge(src proto.Message)
- func (m *ZScanOptions) XXX_Size() int
- func (m *ZScanOptions) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Pattern_ImmuService_History_0 ¶
Pattern_ImmuService_History_0 exposes the runtime Pattern need to overwrite history autogenerated request
func Pattern_ImmuService_SafeGet_0 ¶
Pattern_ImmuService_SafeGet_0 exposes the runtime Pattern need to overwrite safeget autogenerated request
func Pattern_ImmuService_SafeReference_0 ¶
Pattern_ImmuService_SafeReference_0 exposes the runtime Pattern need to overwrite safeReference autogenerated request
func Pattern_ImmuService_SafeSet_0 ¶
Pattern_ImmuService_SafeSet_0 exposes the runtime Pattern need to overwrite safeset autogenerated request
func Pattern_ImmuService_SafeZAdd_0 ¶
Pattern_ImmuService_SafeZAdd_0 exposes the runtime Pattern need to overwrite SafeZAdd autogenerated request
func Pattern_ImmuService_Set_0 ¶
Pattern_ImmuService_Set_0 exposes the runtime Pattern need to overwrite set autogenerated request
func RegisterImmuServiceHandler ¶
func RegisterImmuServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterImmuServiceHandler registers the http handlers for service ImmuService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterImmuServiceHandlerClient ¶
func RegisterImmuServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ImmuServiceClient) error
RegisterImmuServiceHandlerClient registers the http handlers for service ImmuService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ImmuServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ImmuServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ImmuServiceClient" to call the correct interceptors.
func RegisterImmuServiceHandlerFromEndpoint ¶
func RegisterImmuServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterImmuServiceHandlerFromEndpoint is same as RegisterImmuServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterImmuServiceHandlerServer ¶
func RegisterImmuServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ImmuServiceServer) error
RegisterImmuServiceHandlerServer registers the http handlers for service ImmuService to "mux". UnaryRPC :call ImmuServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterImmuServiceServer ¶
func RegisterImmuServiceServer(s *grpc.Server, srv ImmuServiceServer)
Types ¶
type AuthConfig ¶
type AuthConfig struct { Kind uint32 `protobuf:"varint,1,opt,name=kind,proto3" json:"kind,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AuthConfig) Descriptor ¶
func (*AuthConfig) Descriptor() ([]byte, []int)
func (*AuthConfig) GetKind ¶
func (m *AuthConfig) GetKind() uint32
func (*AuthConfig) ProtoMessage ¶
func (*AuthConfig) ProtoMessage()
func (*AuthConfig) Reset ¶
func (m *AuthConfig) Reset()
func (*AuthConfig) String ¶
func (m *AuthConfig) String() string
func (*AuthConfig) XXX_DiscardUnknown ¶
func (m *AuthConfig) XXX_DiscardUnknown()
func (*AuthConfig) XXX_Marshal ¶
func (m *AuthConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthConfig) XXX_Merge ¶
func (m *AuthConfig) XXX_Merge(src proto.Message)
func (*AuthConfig) XXX_Size ¶
func (m *AuthConfig) XXX_Size() int
func (*AuthConfig) XXX_Unmarshal ¶
func (m *AuthConfig) XXX_Unmarshal(b []byte) error
type ChangePasswordRequest ¶
type ChangePasswordRequest struct { User []byte `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` OldPassword []byte `protobuf:"bytes,2,opt,name=oldPassword,proto3" json:"oldPassword,omitempty"` NewPassword []byte `protobuf:"bytes,3,opt,name=newPassword,proto3" json:"newPassword,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ChangePasswordRequest) Descriptor ¶
func (*ChangePasswordRequest) Descriptor() ([]byte, []int)
func (*ChangePasswordRequest) GetNewPassword ¶
func (m *ChangePasswordRequest) GetNewPassword() []byte
func (*ChangePasswordRequest) GetOldPassword ¶
func (m *ChangePasswordRequest) GetOldPassword() []byte
func (*ChangePasswordRequest) GetUser ¶
func (m *ChangePasswordRequest) GetUser() []byte
func (*ChangePasswordRequest) ProtoMessage ¶
func (*ChangePasswordRequest) ProtoMessage()
func (*ChangePasswordRequest) Reset ¶
func (m *ChangePasswordRequest) Reset()
func (*ChangePasswordRequest) String ¶
func (m *ChangePasswordRequest) String() string
func (*ChangePasswordRequest) XXX_DiscardUnknown ¶
func (m *ChangePasswordRequest) XXX_DiscardUnknown()
func (*ChangePasswordRequest) XXX_Marshal ¶
func (m *ChangePasswordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChangePasswordRequest) XXX_Merge ¶
func (m *ChangePasswordRequest) XXX_Merge(src proto.Message)
func (*ChangePasswordRequest) XXX_Size ¶
func (m *ChangePasswordRequest) XXX_Size() int
func (*ChangePasswordRequest) XXX_Unmarshal ¶
func (m *ChangePasswordRequest) XXX_Unmarshal(b []byte) error
type ConsistencyProof ¶
type ConsistencyProof struct { First uint64 `protobuf:"varint,1,opt,name=first,proto3" json:"first,omitempty"` Second uint64 `protobuf:"varint,2,opt,name=second,proto3" json:"second,omitempty"` FirstRoot []byte `protobuf:"bytes,3,opt,name=firstRoot,proto3" json:"firstRoot,omitempty"` SecondRoot []byte `protobuf:"bytes,4,opt,name=secondRoot,proto3" json:"secondRoot,omitempty"` Path [][]byte `protobuf:"bytes,5,rep,name=path,proto3" json:"path,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ConsistencyProof) Descriptor ¶
func (*ConsistencyProof) Descriptor() ([]byte, []int)
func (*ConsistencyProof) GetFirst ¶
func (m *ConsistencyProof) GetFirst() uint64
func (*ConsistencyProof) GetFirstRoot ¶
func (m *ConsistencyProof) GetFirstRoot() []byte
func (*ConsistencyProof) GetPath ¶
func (m *ConsistencyProof) GetPath() [][]byte
func (*ConsistencyProof) GetSecond ¶
func (m *ConsistencyProof) GetSecond() uint64
func (*ConsistencyProof) GetSecondRoot ¶
func (m *ConsistencyProof) GetSecondRoot() []byte
func (*ConsistencyProof) ProtoMessage ¶
func (*ConsistencyProof) ProtoMessage()
func (*ConsistencyProof) Reset ¶
func (m *ConsistencyProof) Reset()
func (*ConsistencyProof) String ¶
func (m *ConsistencyProof) String() string
func (*ConsistencyProof) Verify ¶
func (c *ConsistencyProof) Verify(prevRoot Root) bool
Verify returns true iff the _ConsistencyProof_ proves that _c.SecondRoot_'s history is including the history of the provided _prevRoot_ up to the position _c.First_.
func (*ConsistencyProof) XXX_DiscardUnknown ¶
func (m *ConsistencyProof) XXX_DiscardUnknown()
func (*ConsistencyProof) XXX_Marshal ¶
func (m *ConsistencyProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsistencyProof) XXX_Merge ¶
func (m *ConsistencyProof) XXX_Merge(src proto.Message)
func (*ConsistencyProof) XXX_Size ¶
func (m *ConsistencyProof) XXX_Size() int
func (*ConsistencyProof) XXX_Unmarshal ¶
func (m *ConsistencyProof) XXX_Unmarshal(b []byte) error
type Content ¶
type Content struct { Timestamp uint64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Content) Descriptor ¶
func (*Content) GetPayload ¶
func (*Content) GetTimestamp ¶
func (*Content) ProtoMessage ¶
func (*Content) ProtoMessage()
func (*Content) XXX_DiscardUnknown ¶
func (m *Content) XXX_DiscardUnknown()
func (*Content) XXX_Marshal ¶
func (*Content) XXX_Unmarshal ¶
type CreateUserRequest ¶
type CreateUserRequest struct { User []byte `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` Password []byte `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` Permissions []byte `protobuf:"bytes,3,opt,name=permissions,proto3" json:"permissions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateUserRequest) Descriptor ¶
func (*CreateUserRequest) Descriptor() ([]byte, []int)
func (*CreateUserRequest) GetPassword ¶
func (m *CreateUserRequest) GetPassword() []byte
func (*CreateUserRequest) GetPermissions ¶
func (m *CreateUserRequest) GetPermissions() []byte
func (*CreateUserRequest) GetUser ¶
func (m *CreateUserRequest) GetUser() []byte
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) Reset ¶
func (m *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (m *CreateUserRequest) String() string
func (*CreateUserRequest) XXX_DiscardUnknown ¶
func (m *CreateUserRequest) XXX_DiscardUnknown()
func (*CreateUserRequest) XXX_Marshal ¶
func (m *CreateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateUserRequest) XXX_Merge ¶
func (m *CreateUserRequest) XXX_Merge(src proto.Message)
func (*CreateUserRequest) XXX_Size ¶
func (m *CreateUserRequest) XXX_Size() int
func (*CreateUserRequest) XXX_Unmarshal ¶
func (m *CreateUserRequest) XXX_Unmarshal(b []byte) error
type HealthResponse ¶
type HealthResponse struct { Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HealthResponse) Descriptor ¶
func (*HealthResponse) Descriptor() ([]byte, []int)
func (*HealthResponse) GetStatus ¶
func (m *HealthResponse) GetStatus() bool
func (*HealthResponse) ProtoMessage ¶
func (*HealthResponse) ProtoMessage()
func (*HealthResponse) Reset ¶
func (m *HealthResponse) Reset()
func (*HealthResponse) String ¶
func (m *HealthResponse) String() string
func (*HealthResponse) XXX_DiscardUnknown ¶
func (m *HealthResponse) XXX_DiscardUnknown()
func (*HealthResponse) XXX_Marshal ¶
func (m *HealthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HealthResponse) XXX_Merge ¶
func (m *HealthResponse) XXX_Merge(src proto.Message)
func (*HealthResponse) XXX_Size ¶
func (m *HealthResponse) XXX_Size() int
func (*HealthResponse) XXX_Unmarshal ¶
func (m *HealthResponse) XXX_Unmarshal(b []byte) error
type IScanOptions ¶
type IScanOptions struct { PageSize uint64 `protobuf:"varint,1,opt,name=pageSize,proto3" json:"pageSize,omitempty"` PageNumber uint64 `protobuf:"varint,2,opt,name=pageNumber,proto3" json:"pageNumber,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IScanOptions) Descriptor ¶
func (*IScanOptions) Descriptor() ([]byte, []int)
func (*IScanOptions) GetPageNumber ¶
func (m *IScanOptions) GetPageNumber() uint64
func (*IScanOptions) GetPageSize ¶
func (m *IScanOptions) GetPageSize() uint64
func (*IScanOptions) ProtoMessage ¶
func (*IScanOptions) ProtoMessage()
func (*IScanOptions) Reset ¶
func (m *IScanOptions) Reset()
func (*IScanOptions) String ¶
func (m *IScanOptions) String() string
func (*IScanOptions) XXX_DiscardUnknown ¶
func (m *IScanOptions) XXX_DiscardUnknown()
func (*IScanOptions) XXX_Marshal ¶
func (m *IScanOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IScanOptions) XXX_Merge ¶
func (m *IScanOptions) XXX_Merge(src proto.Message)
func (*IScanOptions) XXX_Size ¶
func (m *IScanOptions) XXX_Size() int
func (*IScanOptions) XXX_Unmarshal ¶
func (m *IScanOptions) XXX_Unmarshal(b []byte) error
type ImmuServiceClient ¶
type ImmuServiceClient interface { ListUsers(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*UserList, error) GetUser(ctx context.Context, in *UserRequest, opts ...grpc.CallOption) (*UserResponse, error) CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*UserResponse, error) ChangePassword(ctx context.Context, in *ChangePasswordRequest, opts ...grpc.CallOption) (*empty.Empty, error) SetPermission(ctx context.Context, in *Item, opts ...grpc.CallOption) (*empty.Empty, error) DeactivateUser(ctx context.Context, in *UserRequest, opts ...grpc.CallOption) (*empty.Empty, error) UpdateAuthConfig(ctx context.Context, in *AuthConfig, opts ...grpc.CallOption) (*empty.Empty, error) UpdateMTLSConfig(ctx context.Context, in *MTLSConfig, opts ...grpc.CallOption) (*empty.Empty, error) PrintTree(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Tree, error) Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) Logout(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) Set(ctx context.Context, in *KeyValue, opts ...grpc.CallOption) (*Index, error) SetSV(ctx context.Context, in *StructuredKeyValue, opts ...grpc.CallOption) (*Index, error) SafeSet(ctx context.Context, in *SafeSetOptions, opts ...grpc.CallOption) (*Proof, error) SafeSetSV(ctx context.Context, in *SafeSetSVOptions, opts ...grpc.CallOption) (*Proof, error) Get(ctx context.Context, in *Key, opts ...grpc.CallOption) (*Item, error) GetSV(ctx context.Context, in *Key, opts ...grpc.CallOption) (*StructuredItem, error) SafeGet(ctx context.Context, in *SafeGetOptions, opts ...grpc.CallOption) (*SafeItem, error) SafeGetSV(ctx context.Context, in *SafeGetOptions, opts ...grpc.CallOption) (*SafeStructuredItem, error) SetBatch(ctx context.Context, in *KVList, opts ...grpc.CallOption) (*Index, error) SetBatchSV(ctx context.Context, in *SKVList, opts ...grpc.CallOption) (*Index, error) GetBatch(ctx context.Context, in *KeyList, opts ...grpc.CallOption) (*ItemList, error) GetBatchSV(ctx context.Context, in *KeyList, opts ...grpc.CallOption) (*StructuredItemList, error) Scan(ctx context.Context, in *ScanOptions, opts ...grpc.CallOption) (*ItemList, error) ScanSV(ctx context.Context, in *ScanOptions, opts ...grpc.CallOption) (*StructuredItemList, error) Count(ctx context.Context, in *KeyPrefix, opts ...grpc.CallOption) (*ItemsCount, error) CurrentRoot(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Root, error) Inclusion(ctx context.Context, in *Index, opts ...grpc.CallOption) (*InclusionProof, error) Consistency(ctx context.Context, in *Index, opts ...grpc.CallOption) (*ConsistencyProof, error) ByIndex(ctx context.Context, in *Index, opts ...grpc.CallOption) (*Item, error) BySafeIndex(ctx context.Context, in *SafeIndexOptions, opts ...grpc.CallOption) (*SafeItem, error) ByIndexSV(ctx context.Context, in *Index, opts ...grpc.CallOption) (*StructuredItem, error) History(ctx context.Context, in *Key, opts ...grpc.CallOption) (*ItemList, error) HistorySV(ctx context.Context, in *Key, opts ...grpc.CallOption) (*StructuredItemList, error) Health(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*HealthResponse, error) Reference(ctx context.Context, in *ReferenceOptions, opts ...grpc.CallOption) (*Index, error) SafeReference(ctx context.Context, in *SafeReferenceOptions, opts ...grpc.CallOption) (*Proof, error) ZAdd(ctx context.Context, in *ZAddOptions, opts ...grpc.CallOption) (*Index, error) ZScan(ctx context.Context, in *ZScanOptions, opts ...grpc.CallOption) (*ItemList, error) ZScanSV(ctx context.Context, in *ZScanOptions, opts ...grpc.CallOption) (*StructuredItemList, error) SafeZAdd(ctx context.Context, in *SafeZAddOptions, opts ...grpc.CallOption) (*Proof, error) IScan(ctx context.Context, in *IScanOptions, opts ...grpc.CallOption) (*Page, error) IScanSV(ctx context.Context, in *IScanOptions, opts ...grpc.CallOption) (*SPage, error) Dump(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (ImmuService_DumpClient, error) }
ImmuServiceClient is the client API for ImmuService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewImmuServiceClient ¶
func NewImmuServiceClient(cc grpc.ClientConnInterface) ImmuServiceClient
type ImmuServiceServer ¶
type ImmuServiceServer interface { ListUsers(context.Context, *empty.Empty) (*UserList, error) GetUser(context.Context, *UserRequest) (*UserResponse, error) CreateUser(context.Context, *CreateUserRequest) (*UserResponse, error) ChangePassword(context.Context, *ChangePasswordRequest) (*empty.Empty, error) SetPermission(context.Context, *Item) (*empty.Empty, error) DeactivateUser(context.Context, *UserRequest) (*empty.Empty, error) UpdateAuthConfig(context.Context, *AuthConfig) (*empty.Empty, error) UpdateMTLSConfig(context.Context, *MTLSConfig) (*empty.Empty, error) PrintTree(context.Context, *empty.Empty) (*Tree, error) Login(context.Context, *LoginRequest) (*LoginResponse, error) Logout(context.Context, *empty.Empty) (*empty.Empty, error) Set(context.Context, *KeyValue) (*Index, error) SetSV(context.Context, *StructuredKeyValue) (*Index, error) SafeSet(context.Context, *SafeSetOptions) (*Proof, error) SafeSetSV(context.Context, *SafeSetSVOptions) (*Proof, error) Get(context.Context, *Key) (*Item, error) GetSV(context.Context, *Key) (*StructuredItem, error) SafeGet(context.Context, *SafeGetOptions) (*SafeItem, error) SafeGetSV(context.Context, *SafeGetOptions) (*SafeStructuredItem, error) SetBatch(context.Context, *KVList) (*Index, error) SetBatchSV(context.Context, *SKVList) (*Index, error) GetBatch(context.Context, *KeyList) (*ItemList, error) GetBatchSV(context.Context, *KeyList) (*StructuredItemList, error) Scan(context.Context, *ScanOptions) (*ItemList, error) ScanSV(context.Context, *ScanOptions) (*StructuredItemList, error) Count(context.Context, *KeyPrefix) (*ItemsCount, error) CurrentRoot(context.Context, *empty.Empty) (*Root, error) Inclusion(context.Context, *Index) (*InclusionProof, error) Consistency(context.Context, *Index) (*ConsistencyProof, error) ByIndex(context.Context, *Index) (*Item, error) BySafeIndex(context.Context, *SafeIndexOptions) (*SafeItem, error) ByIndexSV(context.Context, *Index) (*StructuredItem, error) History(context.Context, *Key) (*ItemList, error) HistorySV(context.Context, *Key) (*StructuredItemList, error) Health(context.Context, *empty.Empty) (*HealthResponse, error) Reference(context.Context, *ReferenceOptions) (*Index, error) SafeReference(context.Context, *SafeReferenceOptions) (*Proof, error) ZAdd(context.Context, *ZAddOptions) (*Index, error) ZScan(context.Context, *ZScanOptions) (*ItemList, error) ZScanSV(context.Context, *ZScanOptions) (*StructuredItemList, error) SafeZAdd(context.Context, *SafeZAddOptions) (*Proof, error) IScan(context.Context, *IScanOptions) (*Page, error) IScanSV(context.Context, *IScanOptions) (*SPage, error) Dump(*empty.Empty, ImmuService_DumpServer) error }
ImmuServiceServer is the server API for ImmuService service.
type ImmuService_DumpClient ¶
type ImmuService_DumpClient interface { Recv() (*pb.KVList, error) grpc.ClientStream }
type ImmuService_DumpServer ¶
type ImmuService_DumpServer interface { Send(*pb.KVList) error grpc.ServerStream }
type InclusionProof ¶
type InclusionProof struct { At uint64 `protobuf:"varint,1,opt,name=at,proto3" json:"at,omitempty"` Index uint64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` Root []byte `protobuf:"bytes,3,opt,name=root,proto3" json:"root,omitempty"` Leaf []byte `protobuf:"bytes,4,opt,name=leaf,proto3" json:"leaf,omitempty"` Path [][]byte `protobuf:"bytes,5,rep,name=path,proto3" json:"path,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InclusionProof) Descriptor ¶
func (*InclusionProof) Descriptor() ([]byte, []int)
func (*InclusionProof) GetAt ¶
func (m *InclusionProof) GetAt() uint64
func (*InclusionProof) GetIndex ¶
func (m *InclusionProof) GetIndex() uint64
func (*InclusionProof) GetLeaf ¶
func (m *InclusionProof) GetLeaf() []byte
func (*InclusionProof) GetPath ¶
func (m *InclusionProof) GetPath() [][]byte
func (*InclusionProof) GetRoot ¶
func (m *InclusionProof) GetRoot() []byte
func (*InclusionProof) ProtoMessage ¶
func (*InclusionProof) ProtoMessage()
func (*InclusionProof) Reset ¶
func (m *InclusionProof) Reset()
func (*InclusionProof) String ¶
func (m *InclusionProof) String() string
func (*InclusionProof) Verify ¶
func (i *InclusionProof) Verify(index uint64, leaf []byte) bool
Verify returns true iff the _InclusionProof_ proves that _leaf_ is included into _i.Root_'s history at the given _index_. todo(leogr): can we use schema.Item instead of (index,leaf)?
func (*InclusionProof) XXX_DiscardUnknown ¶
func (m *InclusionProof) XXX_DiscardUnknown()
func (*InclusionProof) XXX_Marshal ¶
func (m *InclusionProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InclusionProof) XXX_Merge ¶
func (m *InclusionProof) XXX_Merge(src proto.Message)
func (*InclusionProof) XXX_Size ¶
func (m *InclusionProof) XXX_Size() int
func (*InclusionProof) XXX_Unmarshal ¶
func (m *InclusionProof) XXX_Unmarshal(b []byte) error
type Index ¶
type Index struct { Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Index) Descriptor ¶
func (*Index) ProtoMessage ¶
func (*Index) ProtoMessage()
func (*Index) XXX_DiscardUnknown ¶
func (m *Index) XXX_DiscardUnknown()
func (*Index) XXX_Marshal ¶
func (*Index) XXX_Unmarshal ¶
type Item ¶
type Item struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Index uint64 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Item) Descriptor ¶
func (*Item) MarshalJSON ¶
MarshalJSON marshals the item to JSON
func (*Item) ProtoMessage ¶
func (*Item) ProtoMessage()
func (*Item) ToSItem ¶
func (item *Item) ToSItem() (*StructuredItem, error)
ToSItem return StructuredItem from the receiver
func (*Item) XXX_DiscardUnknown ¶
func (m *Item) XXX_DiscardUnknown()
func (*Item) XXX_Unmarshal ¶
type ItemList ¶
type ItemList struct { Items []*Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ItemList) Descriptor ¶
func (*ItemList) ProtoMessage ¶
func (*ItemList) ProtoMessage()
func (*ItemList) ToSItemList ¶
func (list *ItemList) ToSItemList() (*StructuredItemList, error)
ToSItemList return a StructuredItemList from the receiver
func (*ItemList) XXX_DiscardUnknown ¶
func (m *ItemList) XXX_DiscardUnknown()
func (*ItemList) XXX_Marshal ¶
func (*ItemList) XXX_Unmarshal ¶
type ItemsCount ¶
type ItemsCount struct { Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ItemsCount) Descriptor ¶
func (*ItemsCount) Descriptor() ([]byte, []int)
func (*ItemsCount) GetCount ¶
func (m *ItemsCount) GetCount() uint64
func (*ItemsCount) ProtoMessage ¶
func (*ItemsCount) ProtoMessage()
func (*ItemsCount) Reset ¶
func (m *ItemsCount) Reset()
func (*ItemsCount) String ¶
func (m *ItemsCount) String() string
func (*ItemsCount) XXX_DiscardUnknown ¶
func (m *ItemsCount) XXX_DiscardUnknown()
func (*ItemsCount) XXX_Marshal ¶
func (m *ItemsCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ItemsCount) XXX_Merge ¶
func (m *ItemsCount) XXX_Merge(src proto.Message)
func (*ItemsCount) XXX_Size ¶
func (m *ItemsCount) XXX_Size() int
func (*ItemsCount) XXX_Unmarshal ¶
func (m *ItemsCount) XXX_Unmarshal(b []byte) error
type KVList ¶
type KVList struct { KVs []*KeyValue `protobuf:"bytes,1,rep,name=KVs,proto3" json:"KVs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KVList) Descriptor ¶
func (*KVList) ProtoMessage ¶
func (*KVList) ProtoMessage()
func (*KVList) XXX_DiscardUnknown ¶
func (m *KVList) XXX_DiscardUnknown()
func (*KVList) XXX_Marshal ¶
func (*KVList) XXX_Unmarshal ¶
type Key ¶
type Key struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Key) Descriptor ¶
func (*Key) ProtoMessage ¶
func (*Key) ProtoMessage()
func (*Key) XXX_DiscardUnknown ¶
func (m *Key) XXX_DiscardUnknown()
func (*Key) XXX_Unmarshal ¶
type KeyList ¶
type KeyList struct { Keys []*Key `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KeyList) Descriptor ¶
func (*KeyList) ProtoMessage ¶
func (*KeyList) ProtoMessage()
func (*KeyList) XXX_DiscardUnknown ¶
func (m *KeyList) XXX_DiscardUnknown()
func (*KeyList) XXX_Marshal ¶
func (*KeyList) XXX_Unmarshal ¶
type KeyPrefix ¶
type KeyPrefix struct { Prefix []byte `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KeyPrefix) Descriptor ¶
func (*KeyPrefix) ProtoMessage ¶
func (*KeyPrefix) ProtoMessage()
func (*KeyPrefix) XXX_DiscardUnknown ¶
func (m *KeyPrefix) XXX_DiscardUnknown()
func (*KeyPrefix) XXX_Marshal ¶
func (*KeyPrefix) XXX_Unmarshal ¶
type KeyValue ¶
type KeyValue struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KeyValue) Descriptor ¶
func (*KeyValue) ProtoMessage ¶
func (*KeyValue) ProtoMessage()
func (*KeyValue) XXX_DiscardUnknown ¶
func (m *KeyValue) XXX_DiscardUnknown()
func (*KeyValue) XXX_Marshal ¶
func (*KeyValue) XXX_Unmarshal ¶
type Layer ¶ added in v0.6.1
type Layer struct { L []*Node `protobuf:"bytes,1,rep,name=l,proto3" json:"l,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Layer) Descriptor ¶ added in v0.6.1
func (*Layer) ProtoMessage ¶ added in v0.6.1
func (*Layer) ProtoMessage()
func (*Layer) XXX_DiscardUnknown ¶ added in v0.6.1
func (m *Layer) XXX_DiscardUnknown()
func (*Layer) XXX_Marshal ¶ added in v0.6.1
func (*Layer) XXX_Unmarshal ¶ added in v0.6.1
type LoginRequest ¶
type LoginRequest struct { User []byte `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` Password []byte `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoginRequest) Descriptor ¶
func (*LoginRequest) Descriptor() ([]byte, []int)
func (*LoginRequest) GetPassword ¶
func (m *LoginRequest) GetPassword() []byte
func (*LoginRequest) GetUser ¶
func (m *LoginRequest) GetUser() []byte
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) Reset ¶
func (m *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (m *LoginRequest) String() string
func (*LoginRequest) XXX_DiscardUnknown ¶
func (m *LoginRequest) XXX_DiscardUnknown()
func (*LoginRequest) XXX_Marshal ¶
func (m *LoginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoginRequest) XXX_Merge ¶
func (m *LoginRequest) XXX_Merge(src proto.Message)
func (*LoginRequest) XXX_Size ¶
func (m *LoginRequest) XXX_Size() int
func (*LoginRequest) XXX_Unmarshal ¶
func (m *LoginRequest) XXX_Unmarshal(b []byte) error
type LoginResponse ¶
type LoginResponse struct { Token []byte `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Warning []byte `protobuf:"bytes,2,opt,name=warning,proto3" json:"warning,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoginResponse) Descriptor ¶
func (*LoginResponse) Descriptor() ([]byte, []int)
func (*LoginResponse) GetToken ¶
func (m *LoginResponse) GetToken() []byte
func (*LoginResponse) GetWarning ¶ added in v0.6.2
func (m *LoginResponse) GetWarning() []byte
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) Reset ¶
func (m *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (m *LoginResponse) String() string
func (*LoginResponse) XXX_DiscardUnknown ¶
func (m *LoginResponse) XXX_DiscardUnknown()
func (*LoginResponse) XXX_Marshal ¶
func (m *LoginResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoginResponse) XXX_Merge ¶
func (m *LoginResponse) XXX_Merge(src proto.Message)
func (*LoginResponse) XXX_Size ¶
func (m *LoginResponse) XXX_Size() int
func (*LoginResponse) XXX_Unmarshal ¶
func (m *LoginResponse) XXX_Unmarshal(b []byte) error
type MTLSConfig ¶
type MTLSConfig struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MTLSConfig) Descriptor ¶
func (*MTLSConfig) Descriptor() ([]byte, []int)
func (*MTLSConfig) GetEnabled ¶
func (m *MTLSConfig) GetEnabled() bool
func (*MTLSConfig) ProtoMessage ¶
func (*MTLSConfig) ProtoMessage()
func (*MTLSConfig) Reset ¶
func (m *MTLSConfig) Reset()
func (*MTLSConfig) String ¶
func (m *MTLSConfig) String() string
func (*MTLSConfig) XXX_DiscardUnknown ¶
func (m *MTLSConfig) XXX_DiscardUnknown()
func (*MTLSConfig) XXX_Marshal ¶
func (m *MTLSConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MTLSConfig) XXX_Merge ¶
func (m *MTLSConfig) XXX_Merge(src proto.Message)
func (*MTLSConfig) XXX_Size ¶
func (m *MTLSConfig) XXX_Size() int
func (*MTLSConfig) XXX_Unmarshal ¶
func (m *MTLSConfig) XXX_Unmarshal(b []byte) error
type Node ¶ added in v0.6.1
type Node struct { I []byte `protobuf:"bytes,1,opt,name=i,proto3" json:"i,omitempty"` H []byte `protobuf:"bytes,2,opt,name=h,proto3" json:"h,omitempty"` Refk []byte `protobuf:"bytes,3,opt,name=refk,proto3" json:"refk,omitempty"` Ref bool `protobuf:"varint,4,opt,name=ref,proto3" json:"ref,omitempty"` Cache bool `protobuf:"varint,5,opt,name=cache,proto3" json:"cache,omitempty"` Root bool `protobuf:"varint,6,opt,name=root,proto3" json:"root,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Node) Descriptor ¶ added in v0.6.1
func (*Node) ProtoMessage ¶ added in v0.6.1
func (*Node) ProtoMessage()
func (*Node) XXX_DiscardUnknown ¶ added in v0.6.1
func (m *Node) XXX_DiscardUnknown()
func (*Node) XXX_Marshal ¶ added in v0.6.1
func (*Node) XXX_Unmarshal ¶ added in v0.6.1
type Page ¶
type Page struct { Items []*Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` More bool `protobuf:"varint,3,opt,name=more,proto3" json:"more,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Page) Descriptor ¶
func (*Page) ProtoMessage ¶
func (*Page) ProtoMessage()
func (*Page) XXX_DiscardUnknown ¶
func (m *Page) XXX_DiscardUnknown()
func (*Page) XXX_Unmarshal ¶
type Proof ¶
type Proof struct { Leaf []byte `protobuf:"bytes,1,opt,name=leaf,proto3" json:"leaf,omitempty"` Index uint64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` Root []byte `protobuf:"bytes,3,opt,name=root,proto3" json:"root,omitempty"` At uint64 `protobuf:"varint,4,opt,name=at,proto3" json:"at,omitempty"` InclusionPath [][]byte `protobuf:"bytes,5,rep,name=inclusionPath,proto3" json:"inclusionPath,omitempty"` ConsistencyPath [][]byte `protobuf:"bytes,6,rep,name=consistencyPath,proto3" json:"consistencyPath,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Proof) Descriptor ¶
func (*Proof) GetConsistencyPath ¶
func (*Proof) GetInclusionPath ¶
func (*Proof) NewRoot ¶
NewRoot returns a new _Root_ object which holds values referenced by the proof _p_.
func (*Proof) ProtoMessage ¶
func (*Proof) ProtoMessage()
func (*Proof) Verify ¶
Verify returns true iff the _Proof_ proves that the given _leaf_ is included into _p.Root_'s history at position _p.Index_ and that the provided _prevRoot_ is included into _p.Root_'s history. Providing a zerovalue for _prevRoot_ signals that no previous root is available, thus consistency proof will be skipped.
func (*Proof) XXX_DiscardUnknown ¶
func (m *Proof) XXX_DiscardUnknown()
func (*Proof) XXX_Marshal ¶
func (*Proof) XXX_Unmarshal ¶
type ReferenceOptions ¶
type ReferenceOptions struct { Reference []byte `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReferenceOptions) Descriptor ¶
func (*ReferenceOptions) Descriptor() ([]byte, []int)
func (*ReferenceOptions) GetKey ¶
func (m *ReferenceOptions) GetKey() []byte
func (*ReferenceOptions) GetReference ¶
func (m *ReferenceOptions) GetReference() []byte
func (*ReferenceOptions) ProtoMessage ¶
func (*ReferenceOptions) ProtoMessage()
func (*ReferenceOptions) Reset ¶
func (m *ReferenceOptions) Reset()
func (*ReferenceOptions) String ¶
func (m *ReferenceOptions) String() string
func (*ReferenceOptions) XXX_DiscardUnknown ¶
func (m *ReferenceOptions) XXX_DiscardUnknown()
func (*ReferenceOptions) XXX_Marshal ¶
func (m *ReferenceOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReferenceOptions) XXX_Merge ¶
func (m *ReferenceOptions) XXX_Merge(src proto.Message)
func (*ReferenceOptions) XXX_Size ¶
func (m *ReferenceOptions) XXX_Size() int
func (*ReferenceOptions) XXX_Unmarshal ¶
func (m *ReferenceOptions) XXX_Unmarshal(b []byte) error
type Root ¶
type Root struct { Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Root []byte `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Root) Descriptor ¶
func (*Root) ProtoMessage ¶
func (*Root) ProtoMessage()
func (*Root) XXX_DiscardUnknown ¶
func (m *Root) XXX_DiscardUnknown()
func (*Root) XXX_Unmarshal ¶
type SKVList ¶
type SKVList struct { SKVs []*StructuredKeyValue `protobuf:"bytes,1,rep,name=SKVs,proto3" json:"SKVs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SKVList) Descriptor ¶
func (*SKVList) GetSKVs ¶
func (m *SKVList) GetSKVs() []*StructuredKeyValue
func (*SKVList) ProtoMessage ¶
func (*SKVList) ProtoMessage()
func (*SKVList) XXX_DiscardUnknown ¶
func (m *SKVList) XXX_DiscardUnknown()
func (*SKVList) XXX_Marshal ¶
func (*SKVList) XXX_Unmarshal ¶
type SPage ¶
type SPage struct { Items []*StructuredItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` PageNum uint64 `protobuf:"varint,2,opt,name=pageNum,proto3" json:"pageNum,omitempty"` More bool `protobuf:"varint,3,opt,name=more,proto3" json:"more,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SPage) Descriptor ¶
func (*SPage) GetItems ¶
func (m *SPage) GetItems() []*StructuredItem
func (*SPage) GetPageNum ¶
func (*SPage) ProtoMessage ¶
func (*SPage) ProtoMessage()
func (*SPage) XXX_DiscardUnknown ¶
func (m *SPage) XXX_DiscardUnknown()
func (*SPage) XXX_Marshal ¶
func (*SPage) XXX_Unmarshal ¶
type SafeGetOptions ¶
type SafeGetOptions struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` RootIndex *Index `protobuf:"bytes,2,opt,name=rootIndex,proto3" json:"rootIndex,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SafeGetOptions) Descriptor ¶
func (*SafeGetOptions) Descriptor() ([]byte, []int)
func (*SafeGetOptions) GetKey ¶
func (m *SafeGetOptions) GetKey() []byte
func (*SafeGetOptions) GetRootIndex ¶
func (m *SafeGetOptions) GetRootIndex() *Index
func (*SafeGetOptions) ProtoMessage ¶
func (*SafeGetOptions) ProtoMessage()
func (*SafeGetOptions) Reset ¶
func (m *SafeGetOptions) Reset()
func (*SafeGetOptions) String ¶
func (m *SafeGetOptions) String() string
func (*SafeGetOptions) XXX_DiscardUnknown ¶
func (m *SafeGetOptions) XXX_DiscardUnknown()
func (*SafeGetOptions) XXX_Marshal ¶
func (m *SafeGetOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SafeGetOptions) XXX_Merge ¶
func (m *SafeGetOptions) XXX_Merge(src proto.Message)
func (*SafeGetOptions) XXX_Size ¶
func (m *SafeGetOptions) XXX_Size() int
func (*SafeGetOptions) XXX_Unmarshal ¶
func (m *SafeGetOptions) XXX_Unmarshal(b []byte) error
type SafeIndexOptions ¶
type SafeIndexOptions struct { Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` RootIndex *Index `protobuf:"bytes,2,opt,name=rootIndex,proto3" json:"rootIndex,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SafeIndexOptions) Descriptor ¶
func (*SafeIndexOptions) Descriptor() ([]byte, []int)
func (*SafeIndexOptions) GetIndex ¶
func (m *SafeIndexOptions) GetIndex() uint64
func (*SafeIndexOptions) GetRootIndex ¶
func (m *SafeIndexOptions) GetRootIndex() *Index
func (*SafeIndexOptions) ProtoMessage ¶
func (*SafeIndexOptions) ProtoMessage()
func (*SafeIndexOptions) Reset ¶
func (m *SafeIndexOptions) Reset()
func (*SafeIndexOptions) String ¶
func (m *SafeIndexOptions) String() string
func (*SafeIndexOptions) XXX_DiscardUnknown ¶
func (m *SafeIndexOptions) XXX_DiscardUnknown()
func (*SafeIndexOptions) XXX_Marshal ¶
func (m *SafeIndexOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SafeIndexOptions) XXX_Merge ¶
func (m *SafeIndexOptions) XXX_Merge(src proto.Message)
func (*SafeIndexOptions) XXX_Size ¶
func (m *SafeIndexOptions) XXX_Size() int
func (*SafeIndexOptions) XXX_Unmarshal ¶
func (m *SafeIndexOptions) XXX_Unmarshal(b []byte) error
type SafeItem ¶
type SafeItem struct { Item *Item `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` Proof *Proof `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SafeItem) Descriptor ¶
func (*SafeItem) ProtoMessage ¶
func (*SafeItem) ProtoMessage()
func (*SafeItem) ToSafeSItem ¶
func (item *SafeItem) ToSafeSItem() (*SafeStructuredItem, error)
ToSafeSItem return a SafeStructuredItem from the receiver
func (*SafeItem) XXX_DiscardUnknown ¶
func (m *SafeItem) XXX_DiscardUnknown()
func (*SafeItem) XXX_Marshal ¶
func (*SafeItem) XXX_Unmarshal ¶
type SafeReferenceOptions ¶
type SafeReferenceOptions struct { Ro *ReferenceOptions `protobuf:"bytes,1,opt,name=ro,proto3" json:"ro,omitempty"` RootIndex *Index `protobuf:"bytes,2,opt,name=rootIndex,proto3" json:"rootIndex,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SafeReferenceOptions) Descriptor ¶
func (*SafeReferenceOptions) Descriptor() ([]byte, []int)
func (*SafeReferenceOptions) GetRo ¶
func (m *SafeReferenceOptions) GetRo() *ReferenceOptions
func (*SafeReferenceOptions) GetRootIndex ¶
func (m *SafeReferenceOptions) GetRootIndex() *Index
func (*SafeReferenceOptions) ProtoMessage ¶
func (*SafeReferenceOptions) ProtoMessage()
func (*SafeReferenceOptions) Reset ¶
func (m *SafeReferenceOptions) Reset()
func (*SafeReferenceOptions) String ¶
func (m *SafeReferenceOptions) String() string
func (*SafeReferenceOptions) XXX_DiscardUnknown ¶
func (m *SafeReferenceOptions) XXX_DiscardUnknown()
func (*SafeReferenceOptions) XXX_Marshal ¶
func (m *SafeReferenceOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SafeReferenceOptions) XXX_Merge ¶
func (m *SafeReferenceOptions) XXX_Merge(src proto.Message)
func (*SafeReferenceOptions) XXX_Size ¶
func (m *SafeReferenceOptions) XXX_Size() int
func (*SafeReferenceOptions) XXX_Unmarshal ¶
func (m *SafeReferenceOptions) XXX_Unmarshal(b []byte) error
type SafeSetOptions ¶
type SafeSetOptions struct { Kv *KeyValue `protobuf:"bytes,1,opt,name=kv,proto3" json:"kv,omitempty"` RootIndex *Index `protobuf:"bytes,2,opt,name=rootIndex,proto3" json:"rootIndex,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SafeSetOptions) Descriptor ¶
func (*SafeSetOptions) Descriptor() ([]byte, []int)
func (*SafeSetOptions) GetKv ¶
func (m *SafeSetOptions) GetKv() *KeyValue
func (*SafeSetOptions) GetRootIndex ¶
func (m *SafeSetOptions) GetRootIndex() *Index
func (*SafeSetOptions) ProtoMessage ¶
func (*SafeSetOptions) ProtoMessage()
func (*SafeSetOptions) Reset ¶
func (m *SafeSetOptions) Reset()
func (*SafeSetOptions) String ¶
func (m *SafeSetOptions) String() string
func (*SafeSetOptions) XXX_DiscardUnknown ¶
func (m *SafeSetOptions) XXX_DiscardUnknown()
func (*SafeSetOptions) XXX_Marshal ¶
func (m *SafeSetOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SafeSetOptions) XXX_Merge ¶
func (m *SafeSetOptions) XXX_Merge(src proto.Message)
func (*SafeSetOptions) XXX_Size ¶
func (m *SafeSetOptions) XXX_Size() int
func (*SafeSetOptions) XXX_Unmarshal ¶
func (m *SafeSetOptions) XXX_Unmarshal(b []byte) error
type SafeSetSVOptions ¶
type SafeSetSVOptions struct { Skv *StructuredKeyValue `protobuf:"bytes,1,opt,name=skv,proto3" json:"skv,omitempty"` RootIndex *Index `protobuf:"bytes,2,opt,name=rootIndex,proto3" json:"rootIndex,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SafeSetSVOptions) Descriptor ¶
func (*SafeSetSVOptions) Descriptor() ([]byte, []int)
func (*SafeSetSVOptions) GetRootIndex ¶
func (m *SafeSetSVOptions) GetRootIndex() *Index
func (*SafeSetSVOptions) GetSkv ¶
func (m *SafeSetSVOptions) GetSkv() *StructuredKeyValue
func (*SafeSetSVOptions) ProtoMessage ¶
func (*SafeSetSVOptions) ProtoMessage()
func (*SafeSetSVOptions) Reset ¶
func (m *SafeSetSVOptions) Reset()
func (*SafeSetSVOptions) String ¶
func (m *SafeSetSVOptions) String() string
func (*SafeSetSVOptions) XXX_DiscardUnknown ¶
func (m *SafeSetSVOptions) XXX_DiscardUnknown()
func (*SafeSetSVOptions) XXX_Marshal ¶
func (m *SafeSetSVOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SafeSetSVOptions) XXX_Merge ¶
func (m *SafeSetSVOptions) XXX_Merge(src proto.Message)
func (*SafeSetSVOptions) XXX_Size ¶
func (m *SafeSetSVOptions) XXX_Size() int
func (*SafeSetSVOptions) XXX_Unmarshal ¶
func (m *SafeSetSVOptions) XXX_Unmarshal(b []byte) error
type SafeStructuredItem ¶
type SafeStructuredItem struct { Item *StructuredItem `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` Proof *Proof `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SafeStructuredItem) Descriptor ¶
func (*SafeStructuredItem) Descriptor() ([]byte, []int)
func (*SafeStructuredItem) GetItem ¶
func (m *SafeStructuredItem) GetItem() *StructuredItem
func (*SafeStructuredItem) GetProof ¶
func (m *SafeStructuredItem) GetProof() *Proof
func (*SafeStructuredItem) ProtoMessage ¶
func (*SafeStructuredItem) ProtoMessage()
func (*SafeStructuredItem) Reset ¶
func (m *SafeStructuredItem) Reset()
func (*SafeStructuredItem) String ¶
func (m *SafeStructuredItem) String() string
func (*SafeStructuredItem) XXX_DiscardUnknown ¶
func (m *SafeStructuredItem) XXX_DiscardUnknown()
func (*SafeStructuredItem) XXX_Marshal ¶
func (m *SafeStructuredItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SafeStructuredItem) XXX_Merge ¶
func (m *SafeStructuredItem) XXX_Merge(src proto.Message)
func (*SafeStructuredItem) XXX_Size ¶
func (m *SafeStructuredItem) XXX_Size() int
func (*SafeStructuredItem) XXX_Unmarshal ¶
func (m *SafeStructuredItem) XXX_Unmarshal(b []byte) error
type SafeZAddOptions ¶
type SafeZAddOptions struct { Zopts *ZAddOptions `protobuf:"bytes,1,opt,name=zopts,proto3" json:"zopts,omitempty"` RootIndex *Index `protobuf:"bytes,2,opt,name=rootIndex,proto3" json:"rootIndex,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SafeZAddOptions) Descriptor ¶
func (*SafeZAddOptions) Descriptor() ([]byte, []int)
func (*SafeZAddOptions) GetRootIndex ¶
func (m *SafeZAddOptions) GetRootIndex() *Index
func (*SafeZAddOptions) GetZopts ¶
func (m *SafeZAddOptions) GetZopts() *ZAddOptions
func (*SafeZAddOptions) ProtoMessage ¶
func (*SafeZAddOptions) ProtoMessage()
func (*SafeZAddOptions) Reset ¶
func (m *SafeZAddOptions) Reset()
func (*SafeZAddOptions) String ¶
func (m *SafeZAddOptions) String() string
func (*SafeZAddOptions) XXX_DiscardUnknown ¶
func (m *SafeZAddOptions) XXX_DiscardUnknown()
func (*SafeZAddOptions) XXX_Marshal ¶
func (m *SafeZAddOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SafeZAddOptions) XXX_Merge ¶
func (m *SafeZAddOptions) XXX_Merge(src proto.Message)
func (*SafeZAddOptions) XXX_Size ¶
func (m *SafeZAddOptions) XXX_Size() int
func (*SafeZAddOptions) XXX_Unmarshal ¶
func (m *SafeZAddOptions) XXX_Unmarshal(b []byte) error
type ScanOptions ¶
type ScanOptions struct { Prefix []byte `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` Offset []byte `protobuf:"bytes,2,opt,name=offset,proto3" json:"offset,omitempty"` Limit uint64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` Deep bool `protobuf:"varint,5,opt,name=deep,proto3" json:"deep,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ScanOptions) Descriptor ¶
func (*ScanOptions) Descriptor() ([]byte, []int)
func (*ScanOptions) GetDeep ¶
func (m *ScanOptions) GetDeep() bool
func (*ScanOptions) GetLimit ¶
func (m *ScanOptions) GetLimit() uint64
func (*ScanOptions) GetOffset ¶
func (m *ScanOptions) GetOffset() []byte
func (*ScanOptions) GetPrefix ¶
func (m *ScanOptions) GetPrefix() []byte
func (*ScanOptions) GetReverse ¶
func (m *ScanOptions) GetReverse() bool
func (*ScanOptions) ProtoMessage ¶
func (*ScanOptions) ProtoMessage()
func (*ScanOptions) Reset ¶
func (m *ScanOptions) Reset()
func (*ScanOptions) String ¶
func (m *ScanOptions) String() string
func (*ScanOptions) XXX_DiscardUnknown ¶
func (m *ScanOptions) XXX_DiscardUnknown()
func (*ScanOptions) XXX_Marshal ¶
func (m *ScanOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ScanOptions) XXX_Merge ¶
func (m *ScanOptions) XXX_Merge(src proto.Message)
func (*ScanOptions) XXX_Size ¶
func (m *ScanOptions) XXX_Size() int
func (*ScanOptions) XXX_Unmarshal ¶
func (m *ScanOptions) XXX_Unmarshal(b []byte) error
type StructuredItem ¶
type StructuredItem struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value *Content `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Index uint64 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StructuredItem) Descriptor ¶
func (*StructuredItem) Descriptor() ([]byte, []int)
func (*StructuredItem) GetIndex ¶
func (m *StructuredItem) GetIndex() uint64
func (*StructuredItem) GetKey ¶
func (m *StructuredItem) GetKey() []byte
func (*StructuredItem) GetValue ¶
func (m *StructuredItem) GetValue() *Content
func (*StructuredItem) Hash ¶
func (si *StructuredItem) Hash() ([]byte, error)
Hash computes and returns the hash of the structured item
func (*StructuredItem) MarshalJSON ¶
func (m *StructuredItem) MarshalJSON() ([]byte, error)
MarshalJSON marshals the structured item to JSON
func (*StructuredItem) ProtoMessage ¶
func (*StructuredItem) ProtoMessage()
func (*StructuredItem) Reset ¶
func (m *StructuredItem) Reset()
func (*StructuredItem) String ¶
func (m *StructuredItem) String() string
func (*StructuredItem) ToItem ¶
func (item *StructuredItem) ToItem() (*Item, error)
ToItem return Item from the receiver
func (*StructuredItem) XXX_DiscardUnknown ¶
func (m *StructuredItem) XXX_DiscardUnknown()
func (*StructuredItem) XXX_Marshal ¶
func (m *StructuredItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StructuredItem) XXX_Merge ¶
func (m *StructuredItem) XXX_Merge(src proto.Message)
func (*StructuredItem) XXX_Size ¶
func (m *StructuredItem) XXX_Size() int
func (*StructuredItem) XXX_Unmarshal ¶
func (m *StructuredItem) XXX_Unmarshal(b []byte) error
type StructuredItemList ¶
type StructuredItemList struct { Items []*StructuredItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StructuredItemList) Descriptor ¶
func (*StructuredItemList) Descriptor() ([]byte, []int)
func (*StructuredItemList) GetItems ¶
func (m *StructuredItemList) GetItems() []*StructuredItem
func (*StructuredItemList) ProtoMessage ¶
func (*StructuredItemList) ProtoMessage()
func (*StructuredItemList) Reset ¶
func (m *StructuredItemList) Reset()
func (*StructuredItemList) String ¶
func (m *StructuredItemList) String() string
func (*StructuredItemList) XXX_DiscardUnknown ¶
func (m *StructuredItemList) XXX_DiscardUnknown()
func (*StructuredItemList) XXX_Marshal ¶
func (m *StructuredItemList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StructuredItemList) XXX_Merge ¶
func (m *StructuredItemList) XXX_Merge(src proto.Message)
func (*StructuredItemList) XXX_Size ¶
func (m *StructuredItemList) XXX_Size() int
func (*StructuredItemList) XXX_Unmarshal ¶
func (m *StructuredItemList) XXX_Unmarshal(b []byte) error
type StructuredKeyValue ¶
type StructuredKeyValue struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value *Content `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StructuredKeyValue) Descriptor ¶
func (*StructuredKeyValue) Descriptor() ([]byte, []int)
func (*StructuredKeyValue) GetKey ¶
func (m *StructuredKeyValue) GetKey() []byte
func (*StructuredKeyValue) GetValue ¶
func (m *StructuredKeyValue) GetValue() *Content
func (*StructuredKeyValue) ProtoMessage ¶
func (*StructuredKeyValue) ProtoMessage()
func (*StructuredKeyValue) Reset ¶
func (m *StructuredKeyValue) Reset()
func (*StructuredKeyValue) String ¶
func (m *StructuredKeyValue) String() string
func (*StructuredKeyValue) ToKV ¶
func (skv *StructuredKeyValue) ToKV() (*KeyValue, error)
ToKV return a KeyValue from the receiver
func (*StructuredKeyValue) XXX_DiscardUnknown ¶
func (m *StructuredKeyValue) XXX_DiscardUnknown()
func (*StructuredKeyValue) XXX_Marshal ¶
func (m *StructuredKeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StructuredKeyValue) XXX_Merge ¶
func (m *StructuredKeyValue) XXX_Merge(src proto.Message)
func (*StructuredKeyValue) XXX_Size ¶
func (m *StructuredKeyValue) XXX_Size() int
func (*StructuredKeyValue) XXX_Unmarshal ¶
func (m *StructuredKeyValue) XXX_Unmarshal(b []byte) error
type Tree ¶ added in v0.6.1
type Tree struct { T []*Layer `protobuf:"bytes,1,rep,name=t,proto3" json:"t,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Tree) Descriptor ¶ added in v0.6.1
func (*Tree) ProtoMessage ¶ added in v0.6.1
func (*Tree) ProtoMessage()
func (*Tree) XXX_DiscardUnknown ¶ added in v0.6.1
func (m *Tree) XXX_DiscardUnknown()
func (*Tree) XXX_Marshal ¶ added in v0.6.1
func (*Tree) XXX_Unmarshal ¶ added in v0.6.1
type UnimplementedImmuServiceServer ¶
type UnimplementedImmuServiceServer struct { }
UnimplementedImmuServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedImmuServiceServer) ByIndexSV ¶
func (*UnimplementedImmuServiceServer) ByIndexSV(ctx context.Context, req *Index) (*StructuredItem, error)
func (*UnimplementedImmuServiceServer) BySafeIndex ¶
func (*UnimplementedImmuServiceServer) BySafeIndex(ctx context.Context, req *SafeIndexOptions) (*SafeItem, error)
func (*UnimplementedImmuServiceServer) ChangePassword ¶
func (*UnimplementedImmuServiceServer) ChangePassword(ctx context.Context, req *ChangePasswordRequest) (*empty.Empty, error)
func (*UnimplementedImmuServiceServer) Consistency ¶
func (*UnimplementedImmuServiceServer) Consistency(ctx context.Context, req *Index) (*ConsistencyProof, error)
func (*UnimplementedImmuServiceServer) Count ¶
func (*UnimplementedImmuServiceServer) Count(ctx context.Context, req *KeyPrefix) (*ItemsCount, error)
func (*UnimplementedImmuServiceServer) CreateUser ¶
func (*UnimplementedImmuServiceServer) CreateUser(ctx context.Context, req *CreateUserRequest) (*UserResponse, error)
func (*UnimplementedImmuServiceServer) CurrentRoot ¶
func (*UnimplementedImmuServiceServer) DeactivateUser ¶
func (*UnimplementedImmuServiceServer) DeactivateUser(ctx context.Context, req *UserRequest) (*empty.Empty, error)
func (*UnimplementedImmuServiceServer) Dump ¶
func (*UnimplementedImmuServiceServer) Dump(req *empty.Empty, srv ImmuService_DumpServer) error
func (*UnimplementedImmuServiceServer) GetBatchSV ¶
func (*UnimplementedImmuServiceServer) GetBatchSV(ctx context.Context, req *KeyList) (*StructuredItemList, error)
func (*UnimplementedImmuServiceServer) GetSV ¶
func (*UnimplementedImmuServiceServer) GetSV(ctx context.Context, req *Key) (*StructuredItem, error)
func (*UnimplementedImmuServiceServer) GetUser ¶
func (*UnimplementedImmuServiceServer) GetUser(ctx context.Context, req *UserRequest) (*UserResponse, error)
func (*UnimplementedImmuServiceServer) Health ¶
func (*UnimplementedImmuServiceServer) Health(ctx context.Context, req *empty.Empty) (*HealthResponse, error)
func (*UnimplementedImmuServiceServer) HistorySV ¶
func (*UnimplementedImmuServiceServer) HistorySV(ctx context.Context, req *Key) (*StructuredItemList, error)
func (*UnimplementedImmuServiceServer) IScan ¶
func (*UnimplementedImmuServiceServer) IScan(ctx context.Context, req *IScanOptions) (*Page, error)
func (*UnimplementedImmuServiceServer) IScanSV ¶
func (*UnimplementedImmuServiceServer) IScanSV(ctx context.Context, req *IScanOptions) (*SPage, error)
func (*UnimplementedImmuServiceServer) Inclusion ¶
func (*UnimplementedImmuServiceServer) Inclusion(ctx context.Context, req *Index) (*InclusionProof, error)
func (*UnimplementedImmuServiceServer) Login ¶
func (*UnimplementedImmuServiceServer) Login(ctx context.Context, req *LoginRequest) (*LoginResponse, error)
func (*UnimplementedImmuServiceServer) Reference ¶
func (*UnimplementedImmuServiceServer) Reference(ctx context.Context, req *ReferenceOptions) (*Index, error)
func (*UnimplementedImmuServiceServer) SafeGet ¶
func (*UnimplementedImmuServiceServer) SafeGet(ctx context.Context, req *SafeGetOptions) (*SafeItem, error)
func (*UnimplementedImmuServiceServer) SafeGetSV ¶
func (*UnimplementedImmuServiceServer) SafeGetSV(ctx context.Context, req *SafeGetOptions) (*SafeStructuredItem, error)
func (*UnimplementedImmuServiceServer) SafeReference ¶
func (*UnimplementedImmuServiceServer) SafeReference(ctx context.Context, req *SafeReferenceOptions) (*Proof, error)
func (*UnimplementedImmuServiceServer) SafeSet ¶
func (*UnimplementedImmuServiceServer) SafeSet(ctx context.Context, req *SafeSetOptions) (*Proof, error)
func (*UnimplementedImmuServiceServer) SafeSetSV ¶
func (*UnimplementedImmuServiceServer) SafeSetSV(ctx context.Context, req *SafeSetSVOptions) (*Proof, error)
func (*UnimplementedImmuServiceServer) SafeZAdd ¶
func (*UnimplementedImmuServiceServer) SafeZAdd(ctx context.Context, req *SafeZAddOptions) (*Proof, error)
func (*UnimplementedImmuServiceServer) Scan ¶
func (*UnimplementedImmuServiceServer) Scan(ctx context.Context, req *ScanOptions) (*ItemList, error)
func (*UnimplementedImmuServiceServer) ScanSV ¶
func (*UnimplementedImmuServiceServer) ScanSV(ctx context.Context, req *ScanOptions) (*StructuredItemList, error)
func (*UnimplementedImmuServiceServer) SetBatchSV ¶
func (*UnimplementedImmuServiceServer) SetPermission ¶
func (*UnimplementedImmuServiceServer) SetSV ¶
func (*UnimplementedImmuServiceServer) SetSV(ctx context.Context, req *StructuredKeyValue) (*Index, error)
func (*UnimplementedImmuServiceServer) UpdateAuthConfig ¶
func (*UnimplementedImmuServiceServer) UpdateAuthConfig(ctx context.Context, req *AuthConfig) (*empty.Empty, error)
func (*UnimplementedImmuServiceServer) UpdateMTLSConfig ¶
func (*UnimplementedImmuServiceServer) UpdateMTLSConfig(ctx context.Context, req *MTLSConfig) (*empty.Empty, error)
func (*UnimplementedImmuServiceServer) ZAdd ¶
func (*UnimplementedImmuServiceServer) ZAdd(ctx context.Context, req *ZAddOptions) (*Index, error)
func (*UnimplementedImmuServiceServer) ZScan ¶
func (*UnimplementedImmuServiceServer) ZScan(ctx context.Context, req *ZScanOptions) (*ItemList, error)
func (*UnimplementedImmuServiceServer) ZScanSV ¶
func (*UnimplementedImmuServiceServer) ZScanSV(ctx context.Context, req *ZScanOptions) (*StructuredItemList, error)
type User ¶
type User struct { User []byte `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` Permissions []byte `protobuf:"bytes,2,opt,name=permissions,proto3" json:"permissions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*User) Descriptor ¶
func (*User) GetPermissions ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) XXX_DiscardUnknown ¶
func (m *User) XXX_DiscardUnknown()
func (*User) XXX_Unmarshal ¶
type UserList ¶
type UserList struct { Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserList) Descriptor ¶
func (*UserList) ProtoMessage ¶
func (*UserList) ProtoMessage()
func (*UserList) XXX_DiscardUnknown ¶
func (m *UserList) XXX_DiscardUnknown()
func (*UserList) XXX_Marshal ¶
func (*UserList) XXX_Unmarshal ¶
type UserRequest ¶
type UserRequest struct { User []byte `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserRequest) Descriptor ¶
func (*UserRequest) Descriptor() ([]byte, []int)
func (*UserRequest) GetUser ¶
func (m *UserRequest) GetUser() []byte
func (*UserRequest) ProtoMessage ¶
func (*UserRequest) ProtoMessage()
func (*UserRequest) Reset ¶
func (m *UserRequest) Reset()
func (*UserRequest) String ¶
func (m *UserRequest) String() string
func (*UserRequest) XXX_DiscardUnknown ¶
func (m *UserRequest) XXX_DiscardUnknown()
func (*UserRequest) XXX_Marshal ¶
func (m *UserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserRequest) XXX_Merge ¶
func (m *UserRequest) XXX_Merge(src proto.Message)
func (*UserRequest) XXX_Size ¶
func (m *UserRequest) XXX_Size() int
func (*UserRequest) XXX_Unmarshal ¶
func (m *UserRequest) XXX_Unmarshal(b []byte) error
type UserResponse ¶
type UserResponse struct { User []byte `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` Permissions []byte `protobuf:"bytes,2,opt,name=permissions,proto3" json:"permissions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserResponse) Descriptor ¶
func (*UserResponse) Descriptor() ([]byte, []int)
func (*UserResponse) GetPermissions ¶
func (m *UserResponse) GetPermissions() []byte
func (*UserResponse) GetUser ¶
func (m *UserResponse) GetUser() []byte
func (*UserResponse) ProtoMessage ¶
func (*UserResponse) ProtoMessage()
func (*UserResponse) Reset ¶
func (m *UserResponse) Reset()
func (*UserResponse) String ¶
func (m *UserResponse) String() string
func (*UserResponse) XXX_DiscardUnknown ¶
func (m *UserResponse) XXX_DiscardUnknown()
func (*UserResponse) XXX_Marshal ¶
func (m *UserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserResponse) XXX_Merge ¶
func (m *UserResponse) XXX_Merge(src proto.Message)
func (*UserResponse) XXX_Size ¶
func (m *UserResponse) XXX_Size() int
func (*UserResponse) XXX_Unmarshal ¶
func (m *UserResponse) XXX_Unmarshal(b []byte) error
type ZAddOptions ¶
type ZAddOptions struct { Set []byte `protobuf:"bytes,1,opt,name=set,proto3" json:"set,omitempty"` Score float64 `protobuf:"fixed64,2,opt,name=score,proto3" json:"score,omitempty"` Key []byte `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Why use double as score type? Because it is not purely about the storage size, but also use cases. 64-bit floating point double gives a lot of flexibility and dynamic range, at the expense of having only 53-bits of integer.
func (*ZAddOptions) Descriptor ¶
func (*ZAddOptions) Descriptor() ([]byte, []int)
func (*ZAddOptions) GetKey ¶
func (m *ZAddOptions) GetKey() []byte
func (*ZAddOptions) GetScore ¶
func (m *ZAddOptions) GetScore() float64
func (*ZAddOptions) GetSet ¶
func (m *ZAddOptions) GetSet() []byte
func (*ZAddOptions) ProtoMessage ¶
func (*ZAddOptions) ProtoMessage()
func (*ZAddOptions) Reset ¶
func (m *ZAddOptions) Reset()
func (*ZAddOptions) String ¶
func (m *ZAddOptions) String() string
func (*ZAddOptions) XXX_DiscardUnknown ¶
func (m *ZAddOptions) XXX_DiscardUnknown()
func (*ZAddOptions) XXX_Marshal ¶
func (m *ZAddOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ZAddOptions) XXX_Merge ¶
func (m *ZAddOptions) XXX_Merge(src proto.Message)
func (*ZAddOptions) XXX_Size ¶
func (m *ZAddOptions) XXX_Size() int
func (*ZAddOptions) XXX_Unmarshal ¶
func (m *ZAddOptions) XXX_Unmarshal(b []byte) error
type ZScanOptions ¶
type ZScanOptions struct { Set []byte `protobuf:"bytes,1,opt,name=set,proto3" json:"set,omitempty"` Offset []byte `protobuf:"bytes,2,opt,name=offset,proto3" json:"offset,omitempty"` Limit uint64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ZScanOptions) Descriptor ¶
func (*ZScanOptions) Descriptor() ([]byte, []int)
func (*ZScanOptions) GetLimit ¶
func (m *ZScanOptions) GetLimit() uint64
func (*ZScanOptions) GetOffset ¶
func (m *ZScanOptions) GetOffset() []byte
func (*ZScanOptions) GetReverse ¶
func (m *ZScanOptions) GetReverse() bool
func (*ZScanOptions) GetSet ¶
func (m *ZScanOptions) GetSet() []byte
func (*ZScanOptions) ProtoMessage ¶
func (*ZScanOptions) ProtoMessage()
func (*ZScanOptions) Reset ¶
func (m *ZScanOptions) Reset()
func (*ZScanOptions) String ¶
func (m *ZScanOptions) String() string
func (*ZScanOptions) XXX_DiscardUnknown ¶
func (m *ZScanOptions) XXX_DiscardUnknown()
func (*ZScanOptions) XXX_Marshal ¶
func (m *ZScanOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ZScanOptions) XXX_Merge ¶
func (m *ZScanOptions) XXX_Merge(src proto.Message)
func (*ZScanOptions) XXX_Size ¶
func (m *ZScanOptions) XXX_Size() int
func (*ZScanOptions) XXX_Unmarshal ¶
func (m *ZScanOptions) XXX_Unmarshal(b []byte) error