Documentation ¶
Overview ¶
Copyright 2019-2020 vChain, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2019-2020 vChain, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2019-2020 vChain, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Package schema is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Copyright 2019-2020 vChain, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2019-2020 vChain, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Variables
- func DigestFrom(slicedDigest []byte) [sha256.Size]byte
- func DigestsFrom(slicedTerms [][]byte) [][sha256.Size]byte
- func DigestsTo(terms [][sha256.Size]byte) [][]byte
- func DualProofFrom(dproof *DualProof) *store.DualProof
- func InclusionProofFrom(iproof *InclusionProof) *htree.InclusionProof
- func LinearProofFrom(lproof *LinearProof) *store.LinearProof
- 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)
- func TxFrom(stx *Tx) *store.Tx
- func TxMetadataFrom(txMetadata *TxMetadata) *store.TxMetadata
- type AuthConfig
- type ChangePasswordRequest
- func (*ChangePasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePasswordRequest) GetNewPassword() []byte
- func (x *ChangePasswordRequest) GetOldPassword() []byte
- func (x *ChangePasswordRequest) GetUser() []byte
- func (*ChangePasswordRequest) ProtoMessage()
- func (x *ChangePasswordRequest) ProtoReflect() protoreflect.Message
- func (x *ChangePasswordRequest) Reset()
- func (x *ChangePasswordRequest) String() string
- type ChangePermissionRequest
- func (*ChangePermissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePermissionRequest) GetAction() PermissionAction
- func (x *ChangePermissionRequest) GetDatabase() string
- func (x *ChangePermissionRequest) GetPermission() uint32
- func (x *ChangePermissionRequest) GetUsername() string
- func (*ChangePermissionRequest) ProtoMessage()
- func (x *ChangePermissionRequest) ProtoReflect() protoreflect.Message
- func (x *ChangePermissionRequest) Reset()
- func (x *ChangePermissionRequest) String() string
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserRequest) GetDatabase() string
- func (x *CreateUserRequest) GetPassword() []byte
- func (x *CreateUserRequest) GetPermission() uint32
- func (x *CreateUserRequest) GetUser() []byte
- func (*CreateUserRequest) ProtoMessage()
- func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserRequest) Reset()
- func (x *CreateUserRequest) String() string
- type Database
- type DatabaseListResponse
- func (*DatabaseListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DatabaseListResponse) GetDatabases() []*Database
- func (*DatabaseListResponse) ProtoMessage()
- func (x *DatabaseListResponse) ProtoReflect() protoreflect.Message
- func (x *DatabaseListResponse) Reset()
- func (x *DatabaseListResponse) String() string
- type DualProof
- func (*DualProof) Descriptor() ([]byte, []int)deprecated
- func (x *DualProof) GetConsistencyProof() [][]byte
- func (x *DualProof) GetInclusionProof() [][]byte
- func (x *DualProof) GetLastInclusionProof() [][]byte
- func (x *DualProof) GetLinearProof() *LinearProof
- func (x *DualProof) GetSourceTxMetadata() *TxMetadata
- func (x *DualProof) GetTargetBlTxAlh() []byte
- func (x *DualProof) GetTargetTxMetadata() *TxMetadata
- func (*DualProof) ProtoMessage()
- func (x *DualProof) ProtoReflect() protoreflect.Message
- func (x *DualProof) Reset()
- func (x *DualProof) String() string
- type Entries
- type Entry
- func (*Entry) Descriptor() ([]byte, []int)deprecated
- func (x *Entry) GetKey() []byte
- func (x *Entry) GetReferencedBy() *Reference
- func (x *Entry) GetTx() uint64
- func (x *Entry) GetValue() []byte
- func (*Entry) ProtoMessage()
- func (x *Entry) ProtoReflect() protoreflect.Message
- func (x *Entry) Reset()
- func (x *Entry) String() string
- type EntryCount
- type ExecAllRequest
- func (*ExecAllRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecAllRequest) GetOperations() []*Op
- func (*ExecAllRequest) ProtoMessage()
- func (x *ExecAllRequest) ProtoReflect() protoreflect.Message
- func (x *ExecAllRequest) Reset()
- func (x *ExecAllRequest) String() string
- func (m *ExecAllRequest) Validate() error
- type HealthResponse
- func (*HealthResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HealthResponse) GetStatus() bool
- func (x *HealthResponse) GetVersion() string
- func (*HealthResponse) ProtoMessage()
- func (x *HealthResponse) ProtoReflect() protoreflect.Message
- func (x *HealthResponse) Reset()
- func (x *HealthResponse) String() string
- type HistoryRequest
- func (*HistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HistoryRequest) GetDesc() bool
- func (x *HistoryRequest) GetKey() []byte
- func (x *HistoryRequest) GetLimit() uint64
- func (x *HistoryRequest) GetOffset() uint64
- func (x *HistoryRequest) GetSinceTx() uint64
- func (*HistoryRequest) ProtoMessage()
- func (x *HistoryRequest) ProtoReflect() protoreflect.Message
- func (x *HistoryRequest) Reset()
- func (x *HistoryRequest) String() string
- type ImmuServiceClient
- type ImmuServiceServer
- type ImmutableState
- func (state *ImmutableState) CheckSignature() (ok bool, err error)
- func (*ImmutableState) Descriptor() ([]byte, []int)deprecated
- func (x *ImmutableState) GetSignature() *Signature
- func (x *ImmutableState) GetTxHash() []byte
- func (x *ImmutableState) GetTxId() uint64
- func (*ImmutableState) ProtoMessage()
- func (x *ImmutableState) ProtoReflect() protoreflect.Message
- func (x *ImmutableState) Reset()
- func (x *ImmutableState) String() string
- func (state *ImmutableState) ToBytes() []byte
- type InclusionProof
- func (*InclusionProof) Descriptor() ([]byte, []int)deprecated
- func (x *InclusionProof) GetLeaf() int32
- func (x *InclusionProof) GetTerms() [][]byte
- func (x *InclusionProof) GetWidth() int32
- func (*InclusionProof) ProtoMessage()
- func (x *InclusionProof) ProtoReflect() protoreflect.Message
- func (x *InclusionProof) Reset()
- func (x *InclusionProof) String() string
- type Key
- type KeyListRequest
- func (*KeyListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeyListRequest) GetKeys() [][]byte
- func (x *KeyListRequest) GetSinceTx() uint64
- func (*KeyListRequest) ProtoMessage()
- func (x *KeyListRequest) ProtoReflect() protoreflect.Message
- func (x *KeyListRequest) Reset()
- func (x *KeyListRequest) String() string
- type KeyPrefix
- type KeyRequest
- type KeyValue
- type Layer
- type LinearProof
- func (*LinearProof) Descriptor() ([]byte, []int)deprecated
- func (x *LinearProof) GetSourceTxId() uint64
- func (x *LinearProof) GetTargetTxId() uint64
- func (x *LinearProof) GetTerms() [][]byte
- func (*LinearProof) ProtoMessage()
- func (x *LinearProof) ProtoReflect() protoreflect.Message
- func (x *LinearProof) Reset()
- func (x *LinearProof) String() string
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetPassword() []byte
- func (x *LoginRequest) GetUser() []byte
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetToken() string
- func (x *LoginResponse) GetWarning() []byte
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) String() string
- type MTLSConfig
- type Node
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (x *Node) GetCache() bool
- func (x *Node) GetH() []byte
- func (x *Node) GetI() []byte
- func (x *Node) GetRef() bool
- func (x *Node) GetRefk() []byte
- func (x *Node) GetRoot() bool
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (x *Node) String() string
- type Op
- func (*Op) Descriptor() ([]byte, []int)deprecated
- func (x *Op) GetKv() *KeyValue
- func (m *Op) GetOperation() isOp_Operation
- func (x *Op) GetRef() *ReferenceRequest
- func (x *Op) GetZAdd() *ZAddRequest
- func (*Op) ProtoMessage()
- func (x *Op) ProtoReflect() protoreflect.Message
- func (x *Op) Reset()
- func (x *Op) String() string
- type Op_Kv
- type Op_Ref
- type Op_Unexpected
- type Op_ZAdd
- type Permission
- func (*Permission) Descriptor() ([]byte, []int)deprecated
- func (x *Permission) GetDatabase() string
- func (x *Permission) GetPermission() uint32
- func (*Permission) ProtoMessage()
- func (x *Permission) ProtoReflect() protoreflect.Message
- func (x *Permission) Reset()
- func (x *Permission) String() string
- type PermissionAction
- func (PermissionAction) Descriptor() protoreflect.EnumDescriptor
- func (x PermissionAction) Enum() *PermissionAction
- func (PermissionAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x PermissionAction) Number() protoreflect.EnumNumber
- func (x PermissionAction) String() string
- func (PermissionAction) Type() protoreflect.EnumType
- type Reference
- func (*Reference) Descriptor() ([]byte, []int)deprecated
- func (x *Reference) GetAtTx() uint64
- func (x *Reference) GetKey() []byte
- func (x *Reference) GetTx() uint64
- func (*Reference) ProtoMessage()
- func (x *Reference) ProtoReflect() protoreflect.Message
- func (x *Reference) Reset()
- func (x *Reference) String() string
- type ReferenceRequest
- func (*ReferenceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReferenceRequest) GetAtTx() uint64
- func (x *ReferenceRequest) GetKey() []byte
- func (x *ReferenceRequest) GetReferencedKey() []byte
- func (*ReferenceRequest) ProtoMessage()
- func (x *ReferenceRequest) ProtoReflect() protoreflect.Message
- func (x *ReferenceRequest) Reset()
- func (x *ReferenceRequest) String() string
- type ScanRequest
- func (*ScanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ScanRequest) GetDesc() bool
- func (x *ScanRequest) GetLimit() uint64
- func (x *ScanRequest) GetPrefix() []byte
- func (x *ScanRequest) GetSeekKey() []byte
- func (x *ScanRequest) GetSinceTx() uint64
- func (*ScanRequest) ProtoMessage()
- func (x *ScanRequest) ProtoReflect() protoreflect.Message
- func (x *ScanRequest) Reset()
- func (x *ScanRequest) String() string
- type Score
- type SetActiveUserRequest
- func (*SetActiveUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetActiveUserRequest) GetActive() bool
- func (x *SetActiveUserRequest) GetUsername() string
- func (*SetActiveUserRequest) ProtoMessage()
- func (x *SetActiveUserRequest) ProtoReflect() protoreflect.Message
- func (x *SetActiveUserRequest) Reset()
- func (x *SetActiveUserRequest) String() string
- type SetRequest
- type Signature
- type Tree
- type Tx
- type TxEntry
- func (*TxEntry) Descriptor() ([]byte, []int)deprecated
- func (x *TxEntry) GetHValue() []byte
- func (x *TxEntry) GetKey() []byte
- func (x *TxEntry) GetVLen() int32
- func (x *TxEntry) GetVOff() int64
- func (*TxEntry) ProtoMessage()
- func (x *TxEntry) ProtoReflect() protoreflect.Message
- func (x *TxEntry) Reset()
- func (x *TxEntry) String() string
- type TxMetadata
- func (*TxMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *TxMetadata) GetBlRoot() []byte
- func (x *TxMetadata) GetBlTxId() uint64
- func (x *TxMetadata) GetEH() []byte
- func (x *TxMetadata) GetId() uint64
- func (x *TxMetadata) GetNentries() int32
- func (x *TxMetadata) GetPrevAlh() []byte
- func (x *TxMetadata) GetTs() int64
- func (*TxMetadata) ProtoMessage()
- func (x *TxMetadata) ProtoReflect() protoreflect.Message
- func (x *TxMetadata) Reset()
- func (x *TxMetadata) String() string
- type TxRequest
- type UnimplementedImmuServiceServer
- func (*UnimplementedImmuServiceServer) ChangePassword(context.Context, *ChangePasswordRequest) (*empty.Empty, error)
- func (*UnimplementedImmuServiceServer) ChangePermission(context.Context, *ChangePermissionRequest) (*empty.Empty, error)
- func (*UnimplementedImmuServiceServer) Count(context.Context, *KeyPrefix) (*EntryCount, error)
- func (*UnimplementedImmuServiceServer) CountAll(context.Context, *empty.Empty) (*EntryCount, error)
- func (*UnimplementedImmuServiceServer) CreateDatabase(context.Context, *Database) (*empty.Empty, error)
- func (*UnimplementedImmuServiceServer) CreateUser(context.Context, *CreateUserRequest) (*empty.Empty, error)
- func (*UnimplementedImmuServiceServer) CurrentState(context.Context, *empty.Empty) (*ImmutableState, error)
- func (*UnimplementedImmuServiceServer) DatabaseList(context.Context, *empty.Empty) (*DatabaseListResponse, error)
- func (*UnimplementedImmuServiceServer) ExecAll(context.Context, *ExecAllRequest) (*TxMetadata, error)
- func (*UnimplementedImmuServiceServer) Get(context.Context, *KeyRequest) (*Entry, error)
- func (*UnimplementedImmuServiceServer) GetAll(context.Context, *KeyListRequest) (*Entries, error)
- func (*UnimplementedImmuServiceServer) Health(context.Context, *empty.Empty) (*HealthResponse, error)
- func (*UnimplementedImmuServiceServer) History(context.Context, *HistoryRequest) (*Entries, error)
- func (*UnimplementedImmuServiceServer) ListUsers(context.Context, *empty.Empty) (*UserList, error)
- func (*UnimplementedImmuServiceServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
- func (*UnimplementedImmuServiceServer) Logout(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedImmuServiceServer) PrintTree(context.Context, *empty.Empty) (*Tree, error)
- func (*UnimplementedImmuServiceServer) Scan(context.Context, *ScanRequest) (*Entries, error)
- func (*UnimplementedImmuServiceServer) Set(context.Context, *SetRequest) (*TxMetadata, error)
- func (*UnimplementedImmuServiceServer) SetActiveUser(context.Context, *SetActiveUserRequest) (*empty.Empty, error)
- func (*UnimplementedImmuServiceServer) SetReference(context.Context, *ReferenceRequest) (*TxMetadata, error)
- func (*UnimplementedImmuServiceServer) TxById(context.Context, *TxRequest) (*Tx, error)
- func (*UnimplementedImmuServiceServer) UpdateAuthConfig(context.Context, *AuthConfig) (*empty.Empty, error)
- func (*UnimplementedImmuServiceServer) UpdateMTLSConfig(context.Context, *MTLSConfig) (*empty.Empty, error)
- func (*UnimplementedImmuServiceServer) UseDatabase(context.Context, *Database) (*UseDatabaseReply, error)
- func (*UnimplementedImmuServiceServer) VerifiableGet(context.Context, *VerifiableGetRequest) (*VerifiableEntry, error)
- func (*UnimplementedImmuServiceServer) VerifiableSet(context.Context, *VerifiableSetRequest) (*VerifiableTx, error)
- func (*UnimplementedImmuServiceServer) VerifiableSetReference(context.Context, *VerifiableReferenceRequest) (*VerifiableTx, error)
- func (*UnimplementedImmuServiceServer) VerifiableTxById(context.Context, *VerifiableTxRequest) (*VerifiableTx, error)
- func (*UnimplementedImmuServiceServer) VerifiableZAdd(context.Context, *VerifiableZAddRequest) (*VerifiableTx, error)
- func (*UnimplementedImmuServiceServer) ZAdd(context.Context, *ZAddRequest) (*TxMetadata, error)
- func (*UnimplementedImmuServiceServer) ZScan(context.Context, *ZScanRequest) (*ZEntries, error)
- type UseDatabaseReply
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetActive() bool
- func (x *User) GetCreatedat() string
- func (x *User) GetCreatedby() string
- func (x *User) GetPermissions() []*Permission
- func (x *User) GetUser() []byte
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserList
- type UserRequest
- type VerifiableEntry
- func (*VerifiableEntry) Descriptor() ([]byte, []int)deprecated
- func (x *VerifiableEntry) GetEntry() *Entry
- func (x *VerifiableEntry) GetInclusionProof() *InclusionProof
- func (x *VerifiableEntry) GetVerifiableTx() *VerifiableTx
- func (*VerifiableEntry) ProtoMessage()
- func (x *VerifiableEntry) ProtoReflect() protoreflect.Message
- func (x *VerifiableEntry) Reset()
- func (x *VerifiableEntry) String() string
- type VerifiableGetRequest
- func (*VerifiableGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifiableGetRequest) GetKeyRequest() *KeyRequest
- func (x *VerifiableGetRequest) GetProveSinceTx() uint64
- func (*VerifiableGetRequest) ProtoMessage()
- func (x *VerifiableGetRequest) ProtoReflect() protoreflect.Message
- func (x *VerifiableGetRequest) Reset()
- func (x *VerifiableGetRequest) String() string
- type VerifiableReferenceRequest
- func (*VerifiableReferenceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifiableReferenceRequest) GetProveSinceTx() uint64
- func (x *VerifiableReferenceRequest) GetReferenceRequest() *ReferenceRequest
- func (*VerifiableReferenceRequest) ProtoMessage()
- func (x *VerifiableReferenceRequest) ProtoReflect() protoreflect.Message
- func (x *VerifiableReferenceRequest) Reset()
- func (x *VerifiableReferenceRequest) String() string
- type VerifiableSetRequest
- func (*VerifiableSetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifiableSetRequest) GetProveSinceTx() uint64
- func (x *VerifiableSetRequest) GetSetRequest() *SetRequest
- func (*VerifiableSetRequest) ProtoMessage()
- func (x *VerifiableSetRequest) ProtoReflect() protoreflect.Message
- func (x *VerifiableSetRequest) Reset()
- func (x *VerifiableSetRequest) String() string
- type VerifiableTx
- func (*VerifiableTx) Descriptor() ([]byte, []int)deprecated
- func (x *VerifiableTx) GetDualProof() *DualProof
- func (x *VerifiableTx) GetSignature() *Signature
- func (x *VerifiableTx) GetTx() *Tx
- func (*VerifiableTx) ProtoMessage()
- func (x *VerifiableTx) ProtoReflect() protoreflect.Message
- func (x *VerifiableTx) Reset()
- func (x *VerifiableTx) String() string
- type VerifiableTxRequest
- func (*VerifiableTxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifiableTxRequest) GetProveSinceTx() uint64
- func (x *VerifiableTxRequest) GetTx() uint64
- func (*VerifiableTxRequest) ProtoMessage()
- func (x *VerifiableTxRequest) ProtoReflect() protoreflect.Message
- func (x *VerifiableTxRequest) Reset()
- func (x *VerifiableTxRequest) String() string
- type VerifiableZAddRequest
- func (*VerifiableZAddRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifiableZAddRequest) GetProveSinceTx() uint64
- func (x *VerifiableZAddRequest) GetZAddRequest() *ZAddRequest
- func (*VerifiableZAddRequest) ProtoMessage()
- func (x *VerifiableZAddRequest) ProtoReflect() protoreflect.Message
- func (x *VerifiableZAddRequest) Reset()
- func (x *VerifiableZAddRequest) String() string
- type ZAddRequest
- func (*ZAddRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ZAddRequest) GetAtTx() uint64
- func (x *ZAddRequest) GetKey() []byte
- func (x *ZAddRequest) GetScore() float64
- func (x *ZAddRequest) GetSet() []byte
- func (*ZAddRequest) ProtoMessage()
- func (x *ZAddRequest) ProtoReflect() protoreflect.Message
- func (x *ZAddRequest) Reset()
- func (x *ZAddRequest) String() string
- type ZEntries
- type ZEntry
- func (*ZEntry) Descriptor() ([]byte, []int)deprecated
- func (x *ZEntry) GetAtTx() uint64
- func (x *ZEntry) GetEntry() *Entry
- func (x *ZEntry) GetKey() []byte
- func (x *ZEntry) GetScore() float64
- func (x *ZEntry) GetSet() []byte
- func (*ZEntry) ProtoMessage()
- func (x *ZEntry) ProtoReflect() protoreflect.Message
- func (x *ZEntry) Reset()
- func (x *ZEntry) String() string
- type ZScanRequest
- func (*ZScanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ZScanRequest) GetDesc() bool
- func (x *ZScanRequest) GetInclusiveSeek() bool
- func (x *ZScanRequest) GetLimit() uint64
- func (x *ZScanRequest) GetMaxScore() *Score
- func (x *ZScanRequest) GetMinScore() *Score
- func (x *ZScanRequest) GetSeekAtTx() uint64
- func (x *ZScanRequest) GetSeekKey() []byte
- func (x *ZScanRequest) GetSeekScore() float64
- func (x *ZScanRequest) GetSet() []byte
- func (x *ZScanRequest) GetSinceTx() uint64
- func (*ZScanRequest) ProtoMessage()
- func (x *ZScanRequest) ProtoReflect() protoreflect.Message
- func (x *ZScanRequest) Reset()
- func (x *ZScanRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var ( ErrUnexpectedNotStructuredValue = status.New(codes.FailedPrecondition, "unexpected not structured value encountered").Err() ErrEmptySet = status.New(codes.InvalidArgument, "empty set").Err() ErrDuplicatedKeysNotSupported = status.New(codes.InvalidArgument, "duplicated keys are not supported in single batch transaction").Err() ErrDuplicatedZAddNotSupported = status.New(codes.InvalidArgument, "duplicated index inside zAdd insertions are not supported in single batch transaction").Err() ErrDuplicatedReferencesNotSupported = status.New(codes.InvalidArgument, "duplicated references insertions are not supported in single batch transaction").Err() )
var ( PermissionAction_name = map[int32]string{ 0: "GRANT", 1: "REVOKE", } PermissionAction_value = map[string]int32{ "GRANT": 0, "REVOKE": 1, } )
Enum value maps for PermissionAction.
var File_schema_proto protoreflect.FileDescriptor
Functions ¶
func DualProofFrom ¶ added in v0.9.0
func InclusionProofFrom ¶ added in v0.9.0
func InclusionProofFrom(iproof *InclusionProof) *htree.InclusionProof
func LinearProofFrom ¶ added in v0.9.0
func LinearProofFrom(lproof *LinearProof) *store.LinearProof
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. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterImmuServiceHandlerFromEndpoint instead.
func RegisterImmuServiceServer ¶
func RegisterImmuServiceServer(s *grpc.Server, srv ImmuServiceServer)
func TxMetadataFrom ¶ added in v0.9.0
func TxMetadataFrom(txMetadata *TxMetadata) *store.TxMetadata
Types ¶
type AuthConfig ¶
type AuthConfig struct { Kind uint32 `protobuf:"varint,1,opt,name=kind,proto3" json:"kind,omitempty"` // contains filtered or unexported fields }
func (*AuthConfig) Descriptor
deprecated
func (*AuthConfig) Descriptor() ([]byte, []int)
Deprecated: Use AuthConfig.ProtoReflect.Descriptor instead.
func (*AuthConfig) GetKind ¶
func (x *AuthConfig) GetKind() uint32
func (*AuthConfig) ProtoMessage ¶
func (*AuthConfig) ProtoMessage()
func (*AuthConfig) ProtoReflect ¶ added in v0.9.0
func (x *AuthConfig) ProtoReflect() protoreflect.Message
func (*AuthConfig) Reset ¶
func (x *AuthConfig) Reset()
func (*AuthConfig) String ¶
func (x *AuthConfig) String() string
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"` // contains filtered or unexported fields }
func (*ChangePasswordRequest) Descriptor
deprecated
func (*ChangePasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangePasswordRequest.ProtoReflect.Descriptor instead.
func (*ChangePasswordRequest) GetNewPassword ¶
func (x *ChangePasswordRequest) GetNewPassword() []byte
func (*ChangePasswordRequest) GetOldPassword ¶
func (x *ChangePasswordRequest) GetOldPassword() []byte
func (*ChangePasswordRequest) GetUser ¶
func (x *ChangePasswordRequest) GetUser() []byte
func (*ChangePasswordRequest) ProtoMessage ¶
func (*ChangePasswordRequest) ProtoMessage()
func (*ChangePasswordRequest) ProtoReflect ¶ added in v0.9.0
func (x *ChangePasswordRequest) ProtoReflect() protoreflect.Message
func (*ChangePasswordRequest) Reset ¶
func (x *ChangePasswordRequest) Reset()
func (*ChangePasswordRequest) String ¶
func (x *ChangePasswordRequest) String() string
type ChangePermissionRequest ¶ added in v0.7.0
type ChangePermissionRequest struct { Action PermissionAction `protobuf:"varint,1,opt,name=action,proto3,enum=immudb.schema.PermissionAction" json:"action,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Database string `protobuf:"bytes,3,opt,name=database,proto3" json:"database,omitempty"` Permission uint32 `protobuf:"varint,4,opt,name=permission,proto3" json:"permission,omitempty"` // contains filtered or unexported fields }
func (*ChangePermissionRequest) Descriptor
deprecated
added in
v0.7.0
func (*ChangePermissionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangePermissionRequest.ProtoReflect.Descriptor instead.
func (*ChangePermissionRequest) GetAction ¶ added in v0.7.0
func (x *ChangePermissionRequest) GetAction() PermissionAction
func (*ChangePermissionRequest) GetDatabase ¶ added in v0.7.0
func (x *ChangePermissionRequest) GetDatabase() string
func (*ChangePermissionRequest) GetPermission ¶ added in v0.7.0
func (x *ChangePermissionRequest) GetPermission() uint32
func (*ChangePermissionRequest) GetUsername ¶ added in v0.7.0
func (x *ChangePermissionRequest) GetUsername() string
func (*ChangePermissionRequest) ProtoMessage ¶ added in v0.7.0
func (*ChangePermissionRequest) ProtoMessage()
func (*ChangePermissionRequest) ProtoReflect ¶ added in v0.9.0
func (x *ChangePermissionRequest) ProtoReflect() protoreflect.Message
func (*ChangePermissionRequest) Reset ¶ added in v0.7.0
func (x *ChangePermissionRequest) Reset()
func (*ChangePermissionRequest) String ¶ added in v0.7.0
func (x *ChangePermissionRequest) String() string
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"` Permission uint32 `protobuf:"varint,3,opt,name=permission,proto3" json:"permission,omitempty"` Database string `protobuf:"bytes,4,opt,name=database,proto3" json:"database,omitempty"` // contains filtered or unexported fields }
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetDatabase ¶ added in v0.7.0
func (x *CreateUserRequest) GetDatabase() string
func (*CreateUserRequest) GetPassword ¶
func (x *CreateUserRequest) GetPassword() []byte
func (*CreateUserRequest) GetPermission ¶ added in v0.7.0
func (x *CreateUserRequest) GetPermission() uint32
func (*CreateUserRequest) GetUser ¶
func (x *CreateUserRequest) GetUser() []byte
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶ added in v0.9.0
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (x *CreateUserRequest) String() string
type Database ¶ added in v0.7.0
type Database struct { Databasename string `protobuf:"bytes,1,opt,name=databasename,proto3" json:"databasename,omitempty"` // contains filtered or unexported fields }
func (*Database) Descriptor
deprecated
added in
v0.7.0
func (*Database) GetDatabasename ¶ added in v0.7.0
func (*Database) ProtoMessage ¶ added in v0.7.0
func (*Database) ProtoMessage()
func (*Database) ProtoReflect ¶ added in v0.9.0
func (x *Database) ProtoReflect() protoreflect.Message
type DatabaseListResponse ¶ added in v0.7.0
type DatabaseListResponse struct { Databases []*Database `protobuf:"bytes,1,rep,name=databases,proto3" json:"databases,omitempty"` // contains filtered or unexported fields }
func (*DatabaseListResponse) Descriptor
deprecated
added in
v0.7.0
func (*DatabaseListResponse) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseListResponse.ProtoReflect.Descriptor instead.
func (*DatabaseListResponse) GetDatabases ¶ added in v0.7.0
func (x *DatabaseListResponse) GetDatabases() []*Database
func (*DatabaseListResponse) ProtoMessage ¶ added in v0.7.0
func (*DatabaseListResponse) ProtoMessage()
func (*DatabaseListResponse) ProtoReflect ¶ added in v0.9.0
func (x *DatabaseListResponse) ProtoReflect() protoreflect.Message
func (*DatabaseListResponse) Reset ¶ added in v0.7.0
func (x *DatabaseListResponse) Reset()
func (*DatabaseListResponse) String ¶ added in v0.7.0
func (x *DatabaseListResponse) String() string
type DualProof ¶ added in v0.9.0
type DualProof struct { SourceTxMetadata *TxMetadata `protobuf:"bytes,1,opt,name=sourceTxMetadata,proto3" json:"sourceTxMetadata,omitempty"` TargetTxMetadata *TxMetadata `protobuf:"bytes,2,opt,name=targetTxMetadata,proto3" json:"targetTxMetadata,omitempty"` InclusionProof [][]byte `protobuf:"bytes,3,rep,name=inclusionProof,proto3" json:"inclusionProof,omitempty"` ConsistencyProof [][]byte `protobuf:"bytes,4,rep,name=consistencyProof,proto3" json:"consistencyProof,omitempty"` TargetBlTxAlh []byte `protobuf:"bytes,5,opt,name=targetBlTxAlh,proto3" json:"targetBlTxAlh,omitempty"` LastInclusionProof [][]byte `protobuf:"bytes,6,rep,name=lastInclusionProof,proto3" json:"lastInclusionProof,omitempty"` LinearProof *LinearProof `protobuf:"bytes,7,opt,name=linearProof,proto3" json:"linearProof,omitempty"` // contains filtered or unexported fields }
func DualProofTo ¶ added in v0.9.0
func (*DualProof) Descriptor
deprecated
added in
v0.9.0
func (*DualProof) GetConsistencyProof ¶ added in v0.9.0
func (*DualProof) GetInclusionProof ¶ added in v0.9.0
func (*DualProof) GetLastInclusionProof ¶ added in v0.9.0
func (*DualProof) GetLinearProof ¶ added in v0.9.0
func (x *DualProof) GetLinearProof() *LinearProof
func (*DualProof) GetSourceTxMetadata ¶ added in v0.9.0
func (x *DualProof) GetSourceTxMetadata() *TxMetadata
func (*DualProof) GetTargetBlTxAlh ¶ added in v0.9.0
func (*DualProof) GetTargetTxMetadata ¶ added in v0.9.0
func (x *DualProof) GetTargetTxMetadata() *TxMetadata
func (*DualProof) ProtoMessage ¶ added in v0.9.0
func (*DualProof) ProtoMessage()
func (*DualProof) ProtoReflect ¶ added in v0.9.0
func (x *DualProof) ProtoReflect() protoreflect.Message
type Entries ¶ added in v0.9.0
type Entries struct { Entries []*Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
func (*Entries) Descriptor
deprecated
added in
v0.9.0
func (*Entries) GetEntries ¶ added in v0.9.0
func (*Entries) ProtoMessage ¶ added in v0.9.0
func (*Entries) ProtoMessage()
func (*Entries) ProtoReflect ¶ added in v0.9.0
func (x *Entries) ProtoReflect() protoreflect.Message
type Entry ¶ added in v0.9.0
type Entry struct { Tx uint64 `protobuf:"varint,1,opt,name=tx,proto3" json:"tx,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` ReferencedBy *Reference `protobuf:"bytes,4,opt,name=referencedBy,proto3" json:"referencedBy,omitempty"` // contains filtered or unexported fields }
func (*Entry) Descriptor
deprecated
added in
v0.9.0
func (*Entry) GetReferencedBy ¶ added in v0.9.0
func (*Entry) ProtoMessage ¶ added in v0.9.0
func (*Entry) ProtoMessage()
func (*Entry) ProtoReflect ¶ added in v0.9.0
func (x *Entry) ProtoReflect() protoreflect.Message
type EntryCount ¶ added in v0.9.0
type EntryCount struct { Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*EntryCount) Descriptor
deprecated
added in
v0.9.0
func (*EntryCount) Descriptor() ([]byte, []int)
Deprecated: Use EntryCount.ProtoReflect.Descriptor instead.
func (*EntryCount) GetCount ¶ added in v0.9.0
func (x *EntryCount) GetCount() uint64
func (*EntryCount) ProtoMessage ¶ added in v0.9.0
func (*EntryCount) ProtoMessage()
func (*EntryCount) ProtoReflect ¶ added in v0.9.0
func (x *EntryCount) ProtoReflect() protoreflect.Message
func (*EntryCount) Reset ¶ added in v0.9.0
func (x *EntryCount) Reset()
func (*EntryCount) String ¶ added in v0.9.0
func (x *EntryCount) String() string
type ExecAllRequest ¶ added in v0.9.0
type ExecAllRequest struct { Operations []*Op `protobuf:"bytes,1,rep,name=Operations,proto3" json:"Operations,omitempty"` // contains filtered or unexported fields }
func (*ExecAllRequest) Descriptor
deprecated
added in
v0.9.0
func (*ExecAllRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecAllRequest.ProtoReflect.Descriptor instead.
func (*ExecAllRequest) GetOperations ¶ added in v0.9.0
func (x *ExecAllRequest) GetOperations() []*Op
func (*ExecAllRequest) ProtoMessage ¶ added in v0.9.0
func (*ExecAllRequest) ProtoMessage()
func (*ExecAllRequest) ProtoReflect ¶ added in v0.9.0
func (x *ExecAllRequest) ProtoReflect() protoreflect.Message
func (*ExecAllRequest) Reset ¶ added in v0.9.0
func (x *ExecAllRequest) Reset()
func (*ExecAllRequest) String ¶ added in v0.9.0
func (x *ExecAllRequest) String() string
func (*ExecAllRequest) Validate ¶ added in v0.9.0
func (m *ExecAllRequest) Validate() error
type HealthResponse ¶
type HealthResponse struct { Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*HealthResponse) Descriptor
deprecated
func (*HealthResponse) Descriptor() ([]byte, []int)
Deprecated: Use HealthResponse.ProtoReflect.Descriptor instead.
func (*HealthResponse) GetStatus ¶
func (x *HealthResponse) GetStatus() bool
func (*HealthResponse) GetVersion ¶ added in v0.7.0
func (x *HealthResponse) GetVersion() string
func (*HealthResponse) ProtoMessage ¶
func (*HealthResponse) ProtoMessage()
func (*HealthResponse) ProtoReflect ¶ added in v0.9.0
func (x *HealthResponse) ProtoReflect() protoreflect.Message
func (*HealthResponse) Reset ¶
func (x *HealthResponse) Reset()
func (*HealthResponse) String ¶
func (x *HealthResponse) String() string
type HistoryRequest ¶ added in v0.9.0
type HistoryRequest struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Offset uint64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` Limit uint64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` Desc bool `protobuf:"varint,4,opt,name=desc,proto3" json:"desc,omitempty"` SinceTx uint64 `protobuf:"varint,5,opt,name=sinceTx,proto3" json:"sinceTx,omitempty"` // contains filtered or unexported fields }
func (*HistoryRequest) Descriptor
deprecated
added in
v0.9.0
func (*HistoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use HistoryRequest.ProtoReflect.Descriptor instead.
func (*HistoryRequest) GetDesc ¶ added in v0.9.0
func (x *HistoryRequest) GetDesc() bool
func (*HistoryRequest) GetKey ¶ added in v0.9.0
func (x *HistoryRequest) GetKey() []byte
func (*HistoryRequest) GetLimit ¶ added in v0.9.0
func (x *HistoryRequest) GetLimit() uint64
func (*HistoryRequest) GetOffset ¶ added in v0.9.0
func (x *HistoryRequest) GetOffset() uint64
func (*HistoryRequest) GetSinceTx ¶ added in v0.9.0
func (x *HistoryRequest) GetSinceTx() uint64
func (*HistoryRequest) ProtoMessage ¶ added in v0.9.0
func (*HistoryRequest) ProtoMessage()
func (*HistoryRequest) ProtoReflect ¶ added in v0.9.0
func (x *HistoryRequest) ProtoReflect() protoreflect.Message
func (*HistoryRequest) Reset ¶ added in v0.9.0
func (x *HistoryRequest) Reset()
func (*HistoryRequest) String ¶ added in v0.9.0
func (x *HistoryRequest) String() string
type ImmuServiceClient ¶
type ImmuServiceClient interface { ListUsers(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*UserList, error) CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*empty.Empty, error) ChangePassword(ctx context.Context, in *ChangePasswordRequest, 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 *SetRequest, opts ...grpc.CallOption) (*TxMetadata, error) VerifiableSet(ctx context.Context, in *VerifiableSetRequest, opts ...grpc.CallOption) (*VerifiableTx, error) Get(ctx context.Context, in *KeyRequest, opts ...grpc.CallOption) (*Entry, error) VerifiableGet(ctx context.Context, in *VerifiableGetRequest, opts ...grpc.CallOption) (*VerifiableEntry, error) GetAll(ctx context.Context, in *KeyListRequest, opts ...grpc.CallOption) (*Entries, error) ExecAll(ctx context.Context, in *ExecAllRequest, opts ...grpc.CallOption) (*TxMetadata, error) Scan(ctx context.Context, in *ScanRequest, opts ...grpc.CallOption) (*Entries, error) Count(ctx context.Context, in *KeyPrefix, opts ...grpc.CallOption) (*EntryCount, error) CountAll(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EntryCount, error) TxById(ctx context.Context, in *TxRequest, opts ...grpc.CallOption) (*Tx, error) VerifiableTxById(ctx context.Context, in *VerifiableTxRequest, opts ...grpc.CallOption) (*VerifiableTx, error) History(ctx context.Context, in *HistoryRequest, opts ...grpc.CallOption) (*Entries, error) Health(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*HealthResponse, error) CurrentState(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ImmutableState, error) SetReference(ctx context.Context, in *ReferenceRequest, opts ...grpc.CallOption) (*TxMetadata, error) VerifiableSetReference(ctx context.Context, in *VerifiableReferenceRequest, opts ...grpc.CallOption) (*VerifiableTx, error) ZAdd(ctx context.Context, in *ZAddRequest, opts ...grpc.CallOption) (*TxMetadata, error) VerifiableZAdd(ctx context.Context, in *VerifiableZAddRequest, opts ...grpc.CallOption) (*VerifiableTx, error) ZScan(ctx context.Context, in *ZScanRequest, opts ...grpc.CallOption) (*ZEntries, error) CreateDatabase(ctx context.Context, in *Database, opts ...grpc.CallOption) (*empty.Empty, error) UseDatabase(ctx context.Context, in *Database, opts ...grpc.CallOption) (*UseDatabaseReply, error) ChangePermission(ctx context.Context, in *ChangePermissionRequest, opts ...grpc.CallOption) (*empty.Empty, error) SetActiveUser(ctx context.Context, in *SetActiveUserRequest, opts ...grpc.CallOption) (*empty.Empty, error) DatabaseList(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DatabaseListResponse, 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) CreateUser(context.Context, *CreateUserRequest) (*empty.Empty, error) ChangePassword(context.Context, *ChangePasswordRequest) (*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, *SetRequest) (*TxMetadata, error) VerifiableSet(context.Context, *VerifiableSetRequest) (*VerifiableTx, error) Get(context.Context, *KeyRequest) (*Entry, error) VerifiableGet(context.Context, *VerifiableGetRequest) (*VerifiableEntry, error) GetAll(context.Context, *KeyListRequest) (*Entries, error) ExecAll(context.Context, *ExecAllRequest) (*TxMetadata, error) Scan(context.Context, *ScanRequest) (*Entries, error) Count(context.Context, *KeyPrefix) (*EntryCount, error) CountAll(context.Context, *empty.Empty) (*EntryCount, error) TxById(context.Context, *TxRequest) (*Tx, error) VerifiableTxById(context.Context, *VerifiableTxRequest) (*VerifiableTx, error) History(context.Context, *HistoryRequest) (*Entries, error) Health(context.Context, *empty.Empty) (*HealthResponse, error) CurrentState(context.Context, *empty.Empty) (*ImmutableState, error) SetReference(context.Context, *ReferenceRequest) (*TxMetadata, error) VerifiableSetReference(context.Context, *VerifiableReferenceRequest) (*VerifiableTx, error) ZAdd(context.Context, *ZAddRequest) (*TxMetadata, error) VerifiableZAdd(context.Context, *VerifiableZAddRequest) (*VerifiableTx, error) ZScan(context.Context, *ZScanRequest) (*ZEntries, error) CreateDatabase(context.Context, *Database) (*empty.Empty, error) UseDatabase(context.Context, *Database) (*UseDatabaseReply, error) ChangePermission(context.Context, *ChangePermissionRequest) (*empty.Empty, error) SetActiveUser(context.Context, *SetActiveUserRequest) (*empty.Empty, error) DatabaseList(context.Context, *empty.Empty) (*DatabaseListResponse, error) }
ImmuServiceServer is the server API for ImmuService service.
type ImmutableState ¶ added in v0.9.0
type ImmutableState struct { TxId uint64 `protobuf:"varint,3,opt,name=txId,proto3" json:"txId,omitempty"` TxHash []byte `protobuf:"bytes,4,opt,name=txHash,proto3" json:"txHash,omitempty"` Signature *Signature `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*ImmutableState) CheckSignature ¶ added in v0.9.0
func (state *ImmutableState) CheckSignature() (ok bool, err error)
CheckSignature
func (*ImmutableState) Descriptor
deprecated
added in
v0.9.0
func (*ImmutableState) Descriptor() ([]byte, []int)
Deprecated: Use ImmutableState.ProtoReflect.Descriptor instead.
func (*ImmutableState) GetSignature ¶ added in v0.9.0
func (x *ImmutableState) GetSignature() *Signature
func (*ImmutableState) GetTxHash ¶ added in v0.9.0
func (x *ImmutableState) GetTxHash() []byte
func (*ImmutableState) GetTxId ¶ added in v0.9.0
func (x *ImmutableState) GetTxId() uint64
func (*ImmutableState) ProtoMessage ¶ added in v0.9.0
func (*ImmutableState) ProtoMessage()
func (*ImmutableState) ProtoReflect ¶ added in v0.9.0
func (x *ImmutableState) ProtoReflect() protoreflect.Message
func (*ImmutableState) Reset ¶ added in v0.9.0
func (x *ImmutableState) Reset()
func (*ImmutableState) String ¶ added in v0.9.0
func (x *ImmutableState) String() string
func (*ImmutableState) ToBytes ¶ added in v0.9.0
func (state *ImmutableState) ToBytes() []byte
type InclusionProof ¶
type InclusionProof struct { Leaf int32 `protobuf:"varint,1,opt,name=leaf,proto3" json:"leaf,omitempty"` Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` Terms [][]byte `protobuf:"bytes,3,rep,name=terms,proto3" json:"terms,omitempty"` // contains filtered or unexported fields }
func InclusionProofTo ¶ added in v0.9.0
func InclusionProofTo(iproof *htree.InclusionProof) *InclusionProof
func (*InclusionProof) Descriptor
deprecated
func (*InclusionProof) Descriptor() ([]byte, []int)
Deprecated: Use InclusionProof.ProtoReflect.Descriptor instead.
func (*InclusionProof) GetLeaf ¶
func (x *InclusionProof) GetLeaf() int32
func (*InclusionProof) GetTerms ¶ added in v0.9.0
func (x *InclusionProof) GetTerms() [][]byte
func (*InclusionProof) GetWidth ¶ added in v0.9.0
func (x *InclusionProof) GetWidth() int32
func (*InclusionProof) ProtoMessage ¶
func (*InclusionProof) ProtoMessage()
func (*InclusionProof) ProtoReflect ¶ added in v0.9.0
func (x *InclusionProof) ProtoReflect() protoreflect.Message
func (*InclusionProof) Reset ¶
func (x *InclusionProof) Reset()
func (*InclusionProof) String ¶
func (x *InclusionProof) String() string
type Key ¶
type Key struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*Key) Descriptor
deprecated
func (*Key) ProtoMessage ¶
func (*Key) ProtoMessage()
func (*Key) ProtoReflect ¶ added in v0.9.0
func (x *Key) ProtoReflect() protoreflect.Message
type KeyListRequest ¶ added in v0.9.0
type KeyListRequest struct { Keys [][]byte `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` SinceTx uint64 `protobuf:"varint,2,opt,name=sinceTx,proto3" json:"sinceTx,omitempty"` // contains filtered or unexported fields }
func (*KeyListRequest) Descriptor
deprecated
added in
v0.9.0
func (*KeyListRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeyListRequest.ProtoReflect.Descriptor instead.
func (*KeyListRequest) GetKeys ¶ added in v0.9.0
func (x *KeyListRequest) GetKeys() [][]byte
func (*KeyListRequest) GetSinceTx ¶ added in v0.9.0
func (x *KeyListRequest) GetSinceTx() uint64
func (*KeyListRequest) ProtoMessage ¶ added in v0.9.0
func (*KeyListRequest) ProtoMessage()
func (*KeyListRequest) ProtoReflect ¶ added in v0.9.0
func (x *KeyListRequest) ProtoReflect() protoreflect.Message
func (*KeyListRequest) Reset ¶ added in v0.9.0
func (x *KeyListRequest) Reset()
func (*KeyListRequest) String ¶ added in v0.9.0
func (x *KeyListRequest) String() string
type KeyPrefix ¶
type KeyPrefix struct { Prefix []byte `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` // contains filtered or unexported fields }
func (*KeyPrefix) Descriptor
deprecated
func (*KeyPrefix) ProtoMessage ¶
func (*KeyPrefix) ProtoMessage()
func (*KeyPrefix) ProtoReflect ¶ added in v0.9.0
func (x *KeyPrefix) ProtoReflect() protoreflect.Message
type KeyRequest ¶ added in v0.9.0
type KeyRequest struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` SinceTx uint64 `protobuf:"varint,2,opt,name=sinceTx,proto3" json:"sinceTx,omitempty"` // contains filtered or unexported fields }
func (*KeyRequest) Descriptor
deprecated
added in
v0.9.0
func (*KeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeyRequest.ProtoReflect.Descriptor instead.
func (*KeyRequest) GetKey ¶ added in v0.9.0
func (x *KeyRequest) GetKey() []byte
func (*KeyRequest) GetSinceTx ¶ added in v0.9.0
func (x *KeyRequest) GetSinceTx() uint64
func (*KeyRequest) ProtoMessage ¶ added in v0.9.0
func (*KeyRequest) ProtoMessage()
func (*KeyRequest) ProtoReflect ¶ added in v0.9.0
func (x *KeyRequest) ProtoReflect() protoreflect.Message
func (*KeyRequest) Reset ¶ added in v0.9.0
func (x *KeyRequest) Reset()
func (*KeyRequest) String ¶ added in v0.9.0
func (x *KeyRequest) String() string
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"` // contains filtered or unexported fields }
func (*KeyValue) Descriptor
deprecated
func (*KeyValue) ProtoMessage ¶
func (*KeyValue) ProtoMessage()
func (*KeyValue) ProtoReflect ¶ added in v0.9.0
func (x *KeyValue) ProtoReflect() protoreflect.Message
type Layer ¶ added in v0.6.1
type Layer struct { L []*Node `protobuf:"bytes,1,rep,name=l,proto3" json:"l,omitempty"` // contains filtered or unexported fields }
func (*Layer) Descriptor
deprecated
added in
v0.6.1
func (*Layer) ProtoMessage ¶ added in v0.6.1
func (*Layer) ProtoMessage()
func (*Layer) ProtoReflect ¶
func (x *Layer) ProtoReflect() protoreflect.Message
type LinearProof ¶ added in v0.9.0
type LinearProof struct { SourceTxId uint64 `protobuf:"varint,1,opt,name=sourceTxId,proto3" json:"sourceTxId,omitempty"` TargetTxId uint64 `protobuf:"varint,2,opt,name=TargetTxId,proto3" json:"TargetTxId,omitempty"` Terms [][]byte `protobuf:"bytes,3,rep,name=terms,proto3" json:"terms,omitempty"` // contains filtered or unexported fields }
func LinearProofTo ¶ added in v0.9.0
func LinearProofTo(linearProof *store.LinearProof) *LinearProof
func (*LinearProof) Descriptor
deprecated
added in
v0.9.0
func (*LinearProof) Descriptor() ([]byte, []int)
Deprecated: Use LinearProof.ProtoReflect.Descriptor instead.
func (*LinearProof) GetSourceTxId ¶ added in v0.9.0
func (x *LinearProof) GetSourceTxId() uint64
func (*LinearProof) GetTargetTxId ¶ added in v0.9.0
func (x *LinearProof) GetTargetTxId() uint64
func (*LinearProof) GetTerms ¶ added in v0.9.0
func (x *LinearProof) GetTerms() [][]byte
func (*LinearProof) ProtoMessage ¶ added in v0.9.0
func (*LinearProof) ProtoMessage()
func (*LinearProof) ProtoReflect ¶ added in v0.9.0
func (x *LinearProof) ProtoReflect() protoreflect.Message
func (*LinearProof) Reset ¶ added in v0.9.0
func (x *LinearProof) Reset()
func (*LinearProof) String ¶ added in v0.9.0
func (x *LinearProof) String() string
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"` // contains filtered or unexported fields }
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetPassword ¶
func (x *LoginRequest) GetPassword() []byte
func (*LoginRequest) GetUser ¶
func (x *LoginRequest) GetUser() []byte
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶ added in v0.9.0
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
type LoginResponse ¶
type LoginResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Warning []byte `protobuf:"bytes,2,opt,name=warning,proto3" json:"warning,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetToken ¶
func (x *LoginResponse) GetToken() string
func (*LoginResponse) GetWarning ¶ added in v0.6.2
func (x *LoginResponse) GetWarning() []byte
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶ added in v0.9.0
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (x *LoginResponse) String() string
type MTLSConfig ¶
type MTLSConfig struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
func (*MTLSConfig) Descriptor
deprecated
func (*MTLSConfig) Descriptor() ([]byte, []int)
Deprecated: Use MTLSConfig.ProtoReflect.Descriptor instead.
func (*MTLSConfig) GetEnabled ¶
func (x *MTLSConfig) GetEnabled() bool
func (*MTLSConfig) ProtoMessage ¶
func (*MTLSConfig) ProtoMessage()
func (*MTLSConfig) ProtoReflect ¶ added in v0.9.0
func (x *MTLSConfig) ProtoReflect() protoreflect.Message
func (*MTLSConfig) Reset ¶
func (x *MTLSConfig) Reset()
func (*MTLSConfig) String ¶
func (x *MTLSConfig) String() string
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"` // contains filtered or unexported fields }
func (*Node) Descriptor
deprecated
added in
v0.6.1
func (*Node) ProtoMessage ¶ added in v0.6.1
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
type Op ¶ added in v0.8.1
type Op struct { // Types that are assignable to Operation: // *Op_Kv // *Op_ZAdd // *Op_Ref Operation isOp_Operation `protobuf_oneof:"operation"` // contains filtered or unexported fields }
func (*Op) Descriptor
deprecated
added in
v0.8.1
func (*Op) GetOperation ¶ added in v0.8.1
func (m *Op) GetOperation() isOp_Operation
func (*Op) GetRef ¶ added in v0.9.0
func (x *Op) GetRef() *ReferenceRequest
func (*Op) GetZAdd ¶ added in v0.9.0
func (x *Op) GetZAdd() *ZAddRequest
func (*Op) ProtoMessage ¶ added in v0.8.1
func (*Op) ProtoMessage()
func (*Op) ProtoReflect ¶ added in v0.9.0
func (x *Op) ProtoReflect() protoreflect.Message
type Op_Kv ¶ added in v0.9.0
type Op_Kv struct {
Kv *KeyValue `protobuf:"bytes,1,opt,name=kv,proto3,oneof"`
}
type Op_Ref ¶ added in v0.9.0
type Op_Ref struct {
Ref *ReferenceRequest `protobuf:"bytes,3,opt,name=ref,proto3,oneof"`
}
type Op_Unexpected ¶ added in v0.8.1
type Op_Unexpected struct {
// contains filtered or unexported fields
}
type Op_ZAdd ¶ added in v0.9.0
type Op_ZAdd struct {
ZAdd *ZAddRequest `protobuf:"bytes,2,opt,name=zAdd,proto3,oneof"`
}
type Permission ¶ added in v0.7.0
type Permission struct { Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` Permission uint32 `protobuf:"varint,2,opt,name=permission,proto3" json:"permission,omitempty"` // contains filtered or unexported fields }
func (*Permission) Descriptor
deprecated
added in
v0.7.0
func (*Permission) Descriptor() ([]byte, []int)
Deprecated: Use Permission.ProtoReflect.Descriptor instead.
func (*Permission) GetDatabase ¶ added in v0.7.0
func (x *Permission) GetDatabase() string
func (*Permission) GetPermission ¶ added in v0.7.0
func (x *Permission) GetPermission() uint32
func (*Permission) ProtoMessage ¶ added in v0.7.0
func (*Permission) ProtoMessage()
func (*Permission) ProtoReflect ¶ added in v0.9.0
func (x *Permission) ProtoReflect() protoreflect.Message
func (*Permission) Reset ¶ added in v0.7.0
func (x *Permission) Reset()
func (*Permission) String ¶ added in v0.7.0
func (x *Permission) String() string
type PermissionAction ¶ added in v0.7.0
type PermissionAction int32
const ( PermissionAction_GRANT PermissionAction = 0 PermissionAction_REVOKE PermissionAction = 1 )
func (PermissionAction) Descriptor ¶ added in v0.9.0
func (PermissionAction) Descriptor() protoreflect.EnumDescriptor
func (PermissionAction) Enum ¶ added in v0.9.0
func (x PermissionAction) Enum() *PermissionAction
func (PermissionAction) EnumDescriptor
deprecated
added in
v0.7.0
func (PermissionAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use PermissionAction.Descriptor instead.
func (PermissionAction) Number ¶ added in v0.9.0
func (x PermissionAction) Number() protoreflect.EnumNumber
func (PermissionAction) String ¶ added in v0.7.0
func (x PermissionAction) String() string
func (PermissionAction) Type ¶ added in v0.9.0
func (PermissionAction) Type() protoreflect.EnumType
type Reference ¶ added in v0.9.0
type Reference struct { Tx uint64 `protobuf:"varint,1,opt,name=tx,proto3" json:"tx,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` AtTx uint64 `protobuf:"varint,3,opt,name=atTx,proto3" json:"atTx,omitempty"` // contains filtered or unexported fields }
func (*Reference) Descriptor
deprecated
added in
v0.9.0
func (*Reference) ProtoMessage ¶ added in v0.9.0
func (*Reference) ProtoMessage()
func (*Reference) ProtoReflect ¶ added in v0.9.0
func (x *Reference) ProtoReflect() protoreflect.Message
type ReferenceRequest ¶ added in v0.9.0
type ReferenceRequest struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` ReferencedKey []byte `protobuf:"bytes,2,opt,name=referencedKey,proto3" json:"referencedKey,omitempty"` AtTx uint64 `protobuf:"varint,3,opt,name=atTx,proto3" json:"atTx,omitempty"` // contains filtered or unexported fields }
func (*ReferenceRequest) Descriptor
deprecated
added in
v0.9.0
func (*ReferenceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReferenceRequest.ProtoReflect.Descriptor instead.
func (*ReferenceRequest) GetAtTx ¶ added in v0.9.0
func (x *ReferenceRequest) GetAtTx() uint64
func (*ReferenceRequest) GetKey ¶ added in v0.9.0
func (x *ReferenceRequest) GetKey() []byte
func (*ReferenceRequest) GetReferencedKey ¶ added in v0.9.0
func (x *ReferenceRequest) GetReferencedKey() []byte
func (*ReferenceRequest) ProtoMessage ¶ added in v0.9.0
func (*ReferenceRequest) ProtoMessage()
func (*ReferenceRequest) ProtoReflect ¶ added in v0.9.0
func (x *ReferenceRequest) ProtoReflect() protoreflect.Message
func (*ReferenceRequest) Reset ¶ added in v0.9.0
func (x *ReferenceRequest) Reset()
func (*ReferenceRequest) String ¶ added in v0.9.0
func (x *ReferenceRequest) String() string
type ScanRequest ¶ added in v0.9.0
type ScanRequest struct { SeekKey []byte `protobuf:"bytes,1,opt,name=seekKey,proto3" json:"seekKey,omitempty"` Prefix []byte `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"` Desc bool `protobuf:"varint,3,opt,name=desc,proto3" json:"desc,omitempty"` Limit uint64 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` SinceTx uint64 `protobuf:"varint,5,opt,name=sinceTx,proto3" json:"sinceTx,omitempty"` // contains filtered or unexported fields }
func (*ScanRequest) Descriptor
deprecated
added in
v0.9.0
func (*ScanRequest) Descriptor() ([]byte, []int)
Deprecated: Use ScanRequest.ProtoReflect.Descriptor instead.
func (*ScanRequest) GetDesc ¶ added in v0.9.0
func (x *ScanRequest) GetDesc() bool
func (*ScanRequest) GetLimit ¶ added in v0.9.0
func (x *ScanRequest) GetLimit() uint64
func (*ScanRequest) GetPrefix ¶ added in v0.9.0
func (x *ScanRequest) GetPrefix() []byte
func (*ScanRequest) GetSeekKey ¶ added in v0.9.0
func (x *ScanRequest) GetSeekKey() []byte
func (*ScanRequest) GetSinceTx ¶ added in v0.9.0
func (x *ScanRequest) GetSinceTx() uint64
func (*ScanRequest) ProtoMessage ¶ added in v0.9.0
func (*ScanRequest) ProtoMessage()
func (*ScanRequest) ProtoReflect ¶ added in v0.9.0
func (x *ScanRequest) ProtoReflect() protoreflect.Message
func (*ScanRequest) Reset ¶ added in v0.9.0
func (x *ScanRequest) Reset()
func (*ScanRequest) String ¶ added in v0.9.0
func (x *ScanRequest) String() string
type Score ¶ added in v0.8.1
type Score struct { Score float64 `protobuf:"fixed64,1,opt,name=score,proto3" json:"score,omitempty"` // contains filtered or unexported fields }
func (*Score) Descriptor
deprecated
added in
v0.8.1
func (*Score) ProtoMessage ¶ added in v0.8.1
func (*Score) ProtoMessage()
func (*Score) ProtoReflect ¶ added in v0.9.0
func (x *Score) ProtoReflect() protoreflect.Message
type SetActiveUserRequest ¶ added in v0.7.0
type SetActiveUserRequest struct { Active bool `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*SetActiveUserRequest) Descriptor
deprecated
added in
v0.7.0
func (*SetActiveUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetActiveUserRequest.ProtoReflect.Descriptor instead.
func (*SetActiveUserRequest) GetActive ¶ added in v0.7.0
func (x *SetActiveUserRequest) GetActive() bool
func (*SetActiveUserRequest) GetUsername ¶ added in v0.7.0
func (x *SetActiveUserRequest) GetUsername() string
func (*SetActiveUserRequest) ProtoMessage ¶ added in v0.7.0
func (*SetActiveUserRequest) ProtoMessage()
func (*SetActiveUserRequest) ProtoReflect ¶ added in v0.9.0
func (x *SetActiveUserRequest) ProtoReflect() protoreflect.Message
func (*SetActiveUserRequest) Reset ¶ added in v0.7.0
func (x *SetActiveUserRequest) Reset()
func (*SetActiveUserRequest) String ¶ added in v0.7.0
func (x *SetActiveUserRequest) String() string
type SetRequest ¶ added in v0.9.0
type SetRequest struct { KVs []*KeyValue `protobuf:"bytes,1,rep,name=KVs,proto3" json:"KVs,omitempty"` // contains filtered or unexported fields }
func (*SetRequest) Descriptor
deprecated
added in
v0.9.0
func (*SetRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetRequest.ProtoReflect.Descriptor instead.
func (*SetRequest) GetKVs ¶ added in v0.9.0
func (x *SetRequest) GetKVs() []*KeyValue
func (*SetRequest) ProtoMessage ¶ added in v0.9.0
func (*SetRequest) ProtoMessage()
func (*SetRequest) ProtoReflect ¶ added in v0.9.0
func (x *SetRequest) ProtoReflect() protoreflect.Message
func (*SetRequest) Reset ¶ added in v0.9.0
func (x *SetRequest) Reset()
func (*SetRequest) String ¶ added in v0.9.0
func (x *SetRequest) String() string
type Signature ¶ added in v0.8.0
type Signature struct { PublicKey []byte `protobuf:"bytes,1,opt,name=publicKey,proto3" json:"publicKey,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*Signature) Descriptor
deprecated
added in
v0.8.0
func (*Signature) GetPublicKey ¶ added in v0.8.0
func (*Signature) GetSignature ¶ added in v0.8.0
func (*Signature) ProtoMessage ¶ added in v0.8.0
func (*Signature) ProtoMessage()
func (*Signature) ProtoReflect ¶ added in v0.9.0
func (x *Signature) ProtoReflect() protoreflect.Message
type Tree ¶ added in v0.6.1
type Tree struct { T []*Layer `protobuf:"bytes,1,rep,name=t,proto3" json:"t,omitempty"` // contains filtered or unexported fields }
func (*Tree) Descriptor
deprecated
added in
v0.6.1
func (*Tree) ProtoMessage ¶ added in v0.6.1
func (*Tree) ProtoMessage()
func (*Tree) ProtoReflect ¶
func (x *Tree) ProtoReflect() protoreflect.Message
type Tx ¶ added in v0.9.0
type Tx struct { Metadata *TxMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Entries []*TxEntry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
func (*Tx) Descriptor
deprecated
added in
v0.9.0
func (*Tx) GetEntries ¶ added in v0.9.0
func (*Tx) GetMetadata ¶ added in v0.9.0
func (x *Tx) GetMetadata() *TxMetadata
func (*Tx) ProtoMessage ¶ added in v0.9.0
func (*Tx) ProtoMessage()
func (*Tx) ProtoReflect ¶ added in v0.9.0
func (x *Tx) ProtoReflect() protoreflect.Message
type TxEntry ¶ added in v0.9.0
type TxEntry struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` HValue []byte `protobuf:"bytes,2,opt,name=hValue,proto3" json:"hValue,omitempty"` VOff int64 `protobuf:"varint,3,opt,name=vOff,proto3" json:"vOff,omitempty"` VLen int32 `protobuf:"varint,4,opt,name=vLen,proto3" json:"vLen,omitempty"` // contains filtered or unexported fields }
func (*TxEntry) Descriptor
deprecated
added in
v0.9.0
func (*TxEntry) ProtoMessage ¶ added in v0.9.0
func (*TxEntry) ProtoMessage()
func (*TxEntry) ProtoReflect ¶ added in v0.9.0
func (x *TxEntry) ProtoReflect() protoreflect.Message
type TxMetadata ¶ added in v0.9.0
type TxMetadata struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` PrevAlh []byte `protobuf:"bytes,2,opt,name=prevAlh,proto3" json:"prevAlh,omitempty"` Ts int64 `protobuf:"varint,3,opt,name=ts,proto3" json:"ts,omitempty"` Nentries int32 `protobuf:"varint,4,opt,name=nentries,proto3" json:"nentries,omitempty"` EH []byte `protobuf:"bytes,5,opt,name=eH,proto3" json:"eH,omitempty"` BlTxId uint64 `protobuf:"varint,6,opt,name=blTxId,proto3" json:"blTxId,omitempty"` BlRoot []byte `protobuf:"bytes,7,opt,name=blRoot,proto3" json:"blRoot,omitempty"` // contains filtered or unexported fields }
func TxMetatadaTo ¶ added in v0.9.0
func TxMetatadaTo(txMetadata *store.TxMetadata) *TxMetadata
func (*TxMetadata) Descriptor
deprecated
added in
v0.9.0
func (*TxMetadata) Descriptor() ([]byte, []int)
Deprecated: Use TxMetadata.ProtoReflect.Descriptor instead.
func (*TxMetadata) GetBlRoot ¶ added in v0.9.0
func (x *TxMetadata) GetBlRoot() []byte
func (*TxMetadata) GetBlTxId ¶ added in v0.9.0
func (x *TxMetadata) GetBlTxId() uint64
func (*TxMetadata) GetEH ¶ added in v0.9.0
func (x *TxMetadata) GetEH() []byte
func (*TxMetadata) GetId ¶ added in v0.9.0
func (x *TxMetadata) GetId() uint64
func (*TxMetadata) GetNentries ¶ added in v0.9.0
func (x *TxMetadata) GetNentries() int32
func (*TxMetadata) GetPrevAlh ¶ added in v0.9.0
func (x *TxMetadata) GetPrevAlh() []byte
func (*TxMetadata) GetTs ¶ added in v0.9.0
func (x *TxMetadata) GetTs() int64
func (*TxMetadata) ProtoMessage ¶ added in v0.9.0
func (*TxMetadata) ProtoMessage()
func (*TxMetadata) ProtoReflect ¶ added in v0.9.0
func (x *TxMetadata) ProtoReflect() protoreflect.Message
func (*TxMetadata) Reset ¶ added in v0.9.0
func (x *TxMetadata) Reset()
func (*TxMetadata) String ¶ added in v0.9.0
func (x *TxMetadata) String() string
type TxRequest ¶ added in v0.9.0
type TxRequest struct { Tx uint64 `protobuf:"varint,1,opt,name=tx,proto3" json:"tx,omitempty"` // contains filtered or unexported fields }
func (*TxRequest) Descriptor
deprecated
added in
v0.9.0
func (*TxRequest) ProtoMessage ¶ added in v0.9.0
func (*TxRequest) ProtoMessage()
func (*TxRequest) ProtoReflect ¶ added in v0.9.0
func (x *TxRequest) ProtoReflect() protoreflect.Message
type UnimplementedImmuServiceServer ¶
type UnimplementedImmuServiceServer struct { }
UnimplementedImmuServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedImmuServiceServer) ChangePassword ¶
func (*UnimplementedImmuServiceServer) ChangePassword(context.Context, *ChangePasswordRequest) (*empty.Empty, error)
func (*UnimplementedImmuServiceServer) ChangePermission ¶ added in v0.7.0
func (*UnimplementedImmuServiceServer) ChangePermission(context.Context, *ChangePermissionRequest) (*empty.Empty, error)
func (*UnimplementedImmuServiceServer) Count ¶
func (*UnimplementedImmuServiceServer) Count(context.Context, *KeyPrefix) (*EntryCount, error)
func (*UnimplementedImmuServiceServer) CountAll ¶ added in v0.8.1
func (*UnimplementedImmuServiceServer) CountAll(context.Context, *empty.Empty) (*EntryCount, error)
func (*UnimplementedImmuServiceServer) CreateDatabase ¶ added in v0.7.0
func (*UnimplementedImmuServiceServer) CreateUser ¶
func (*UnimplementedImmuServiceServer) CreateUser(context.Context, *CreateUserRequest) (*empty.Empty, error)
func (*UnimplementedImmuServiceServer) CurrentState ¶ added in v0.9.0
func (*UnimplementedImmuServiceServer) CurrentState(context.Context, *empty.Empty) (*ImmutableState, error)
func (*UnimplementedImmuServiceServer) DatabaseList ¶ added in v0.7.0
func (*UnimplementedImmuServiceServer) DatabaseList(context.Context, *empty.Empty) (*DatabaseListResponse, error)
func (*UnimplementedImmuServiceServer) ExecAll ¶ added in v0.9.0
func (*UnimplementedImmuServiceServer) ExecAll(context.Context, *ExecAllRequest) (*TxMetadata, error)
func (*UnimplementedImmuServiceServer) Get ¶
func (*UnimplementedImmuServiceServer) Get(context.Context, *KeyRequest) (*Entry, error)
func (*UnimplementedImmuServiceServer) GetAll ¶ added in v0.9.0
func (*UnimplementedImmuServiceServer) GetAll(context.Context, *KeyListRequest) (*Entries, error)
func (*UnimplementedImmuServiceServer) Health ¶
func (*UnimplementedImmuServiceServer) Health(context.Context, *empty.Empty) (*HealthResponse, error)
func (*UnimplementedImmuServiceServer) History ¶
func (*UnimplementedImmuServiceServer) History(context.Context, *HistoryRequest) (*Entries, error)
func (*UnimplementedImmuServiceServer) Login ¶
func (*UnimplementedImmuServiceServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
func (*UnimplementedImmuServiceServer) Scan ¶
func (*UnimplementedImmuServiceServer) Scan(context.Context, *ScanRequest) (*Entries, error)
func (*UnimplementedImmuServiceServer) Set ¶
func (*UnimplementedImmuServiceServer) Set(context.Context, *SetRequest) (*TxMetadata, error)
func (*UnimplementedImmuServiceServer) SetActiveUser ¶ added in v0.7.0
func (*UnimplementedImmuServiceServer) SetActiveUser(context.Context, *SetActiveUserRequest) (*empty.Empty, error)
func (*UnimplementedImmuServiceServer) SetReference ¶ added in v0.9.0
func (*UnimplementedImmuServiceServer) SetReference(context.Context, *ReferenceRequest) (*TxMetadata, error)
func (*UnimplementedImmuServiceServer) UpdateAuthConfig ¶
func (*UnimplementedImmuServiceServer) UpdateAuthConfig(context.Context, *AuthConfig) (*empty.Empty, error)
func (*UnimplementedImmuServiceServer) UpdateMTLSConfig ¶
func (*UnimplementedImmuServiceServer) UpdateMTLSConfig(context.Context, *MTLSConfig) (*empty.Empty, error)
func (*UnimplementedImmuServiceServer) UseDatabase ¶ added in v0.7.0
func (*UnimplementedImmuServiceServer) UseDatabase(context.Context, *Database) (*UseDatabaseReply, error)
func (*UnimplementedImmuServiceServer) VerifiableGet ¶ added in v0.9.0
func (*UnimplementedImmuServiceServer) VerifiableGet(context.Context, *VerifiableGetRequest) (*VerifiableEntry, error)
func (*UnimplementedImmuServiceServer) VerifiableSet ¶ added in v0.9.0
func (*UnimplementedImmuServiceServer) VerifiableSet(context.Context, *VerifiableSetRequest) (*VerifiableTx, error)
func (*UnimplementedImmuServiceServer) VerifiableSetReference ¶ added in v0.9.0
func (*UnimplementedImmuServiceServer) VerifiableSetReference(context.Context, *VerifiableReferenceRequest) (*VerifiableTx, error)
func (*UnimplementedImmuServiceServer) VerifiableTxById ¶ added in v0.9.0
func (*UnimplementedImmuServiceServer) VerifiableTxById(context.Context, *VerifiableTxRequest) (*VerifiableTx, error)
func (*UnimplementedImmuServiceServer) VerifiableZAdd ¶ added in v0.9.0
func (*UnimplementedImmuServiceServer) VerifiableZAdd(context.Context, *VerifiableZAddRequest) (*VerifiableTx, error)
func (*UnimplementedImmuServiceServer) ZAdd ¶
func (*UnimplementedImmuServiceServer) ZAdd(context.Context, *ZAddRequest) (*TxMetadata, error)
func (*UnimplementedImmuServiceServer) ZScan ¶
func (*UnimplementedImmuServiceServer) ZScan(context.Context, *ZScanRequest) (*ZEntries, error)
type UseDatabaseReply ¶ added in v0.7.0
type UseDatabaseReply struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*UseDatabaseReply) Descriptor
deprecated
added in
v0.7.0
func (*UseDatabaseReply) Descriptor() ([]byte, []int)
Deprecated: Use UseDatabaseReply.ProtoReflect.Descriptor instead.
func (*UseDatabaseReply) GetToken ¶ added in v0.7.0
func (x *UseDatabaseReply) GetToken() string
func (*UseDatabaseReply) ProtoMessage ¶ added in v0.7.0
func (*UseDatabaseReply) ProtoMessage()
func (*UseDatabaseReply) ProtoReflect ¶ added in v0.9.0
func (x *UseDatabaseReply) ProtoReflect() protoreflect.Message
func (*UseDatabaseReply) Reset ¶ added in v0.7.0
func (x *UseDatabaseReply) Reset()
func (*UseDatabaseReply) String ¶ added in v0.7.0
func (x *UseDatabaseReply) String() string
type User ¶
type User struct { User []byte `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` Permissions []*Permission `protobuf:"bytes,3,rep,name=permissions,proto3" json:"permissions,omitempty"` Createdby string `protobuf:"bytes,4,opt,name=createdby,proto3" json:"createdby,omitempty"` Createdat string `protobuf:"bytes,5,opt,name=createdat,proto3" json:"createdat,omitempty"` Active bool `protobuf:"varint,6,opt,name=active,proto3" json:"active,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetCreatedat ¶ added in v0.7.0
func (*User) GetCreatedby ¶ added in v0.7.0
func (*User) GetPermissions ¶
func (x *User) GetPermissions() []*Permission
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶ added in v0.9.0
func (x *User) ProtoReflect() protoreflect.Message
type UserList ¶
type UserList struct { Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*UserList) Descriptor
deprecated
func (*UserList) ProtoMessage ¶
func (*UserList) ProtoMessage()
func (*UserList) ProtoReflect ¶ added in v0.9.0
func (x *UserList) ProtoReflect() protoreflect.Message
type UserRequest ¶
type UserRequest struct { User []byte `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*UserRequest) Descriptor
deprecated
func (*UserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserRequest.ProtoReflect.Descriptor instead.
func (*UserRequest) GetUser ¶
func (x *UserRequest) GetUser() []byte
func (*UserRequest) ProtoMessage ¶
func (*UserRequest) ProtoMessage()
func (*UserRequest) ProtoReflect ¶ added in v0.9.0
func (x *UserRequest) ProtoReflect() protoreflect.Message
func (*UserRequest) Reset ¶
func (x *UserRequest) Reset()
func (*UserRequest) String ¶
func (x *UserRequest) String() string
type VerifiableEntry ¶ added in v0.9.0
type VerifiableEntry struct { Entry *Entry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"` VerifiableTx *VerifiableTx `protobuf:"bytes,2,opt,name=verifiableTx,proto3" json:"verifiableTx,omitempty"` InclusionProof *InclusionProof `protobuf:"bytes,3,opt,name=inclusionProof,proto3" json:"inclusionProof,omitempty"` // contains filtered or unexported fields }
func (*VerifiableEntry) Descriptor
deprecated
added in
v0.9.0
func (*VerifiableEntry) Descriptor() ([]byte, []int)
Deprecated: Use VerifiableEntry.ProtoReflect.Descriptor instead.
func (*VerifiableEntry) GetEntry ¶ added in v0.9.0
func (x *VerifiableEntry) GetEntry() *Entry
func (*VerifiableEntry) GetInclusionProof ¶ added in v0.9.0
func (x *VerifiableEntry) GetInclusionProof() *InclusionProof
func (*VerifiableEntry) GetVerifiableTx ¶ added in v0.9.0
func (x *VerifiableEntry) GetVerifiableTx() *VerifiableTx
func (*VerifiableEntry) ProtoMessage ¶ added in v0.9.0
func (*VerifiableEntry) ProtoMessage()
func (*VerifiableEntry) ProtoReflect ¶ added in v0.9.0
func (x *VerifiableEntry) ProtoReflect() protoreflect.Message
func (*VerifiableEntry) Reset ¶ added in v0.9.0
func (x *VerifiableEntry) Reset()
func (*VerifiableEntry) String ¶ added in v0.9.0
func (x *VerifiableEntry) String() string
type VerifiableGetRequest ¶ added in v0.9.0
type VerifiableGetRequest struct { KeyRequest *KeyRequest `protobuf:"bytes,1,opt,name=keyRequest,proto3" json:"keyRequest,omitempty"` ProveSinceTx uint64 `protobuf:"varint,2,opt,name=proveSinceTx,proto3" json:"proveSinceTx,omitempty"` // contains filtered or unexported fields }
func (*VerifiableGetRequest) Descriptor
deprecated
added in
v0.9.0
func (*VerifiableGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifiableGetRequest.ProtoReflect.Descriptor instead.
func (*VerifiableGetRequest) GetKeyRequest ¶ added in v0.9.0
func (x *VerifiableGetRequest) GetKeyRequest() *KeyRequest
func (*VerifiableGetRequest) GetProveSinceTx ¶ added in v0.9.0
func (x *VerifiableGetRequest) GetProveSinceTx() uint64
func (*VerifiableGetRequest) ProtoMessage ¶ added in v0.9.0
func (*VerifiableGetRequest) ProtoMessage()
func (*VerifiableGetRequest) ProtoReflect ¶ added in v0.9.0
func (x *VerifiableGetRequest) ProtoReflect() protoreflect.Message
func (*VerifiableGetRequest) Reset ¶ added in v0.9.0
func (x *VerifiableGetRequest) Reset()
func (*VerifiableGetRequest) String ¶ added in v0.9.0
func (x *VerifiableGetRequest) String() string
type VerifiableReferenceRequest ¶ added in v0.9.0
type VerifiableReferenceRequest struct { ReferenceRequest *ReferenceRequest `protobuf:"bytes,1,opt,name=referenceRequest,proto3" json:"referenceRequest,omitempty"` ProveSinceTx uint64 `protobuf:"varint,2,opt,name=proveSinceTx,proto3" json:"proveSinceTx,omitempty"` // contains filtered or unexported fields }
func (*VerifiableReferenceRequest) Descriptor
deprecated
added in
v0.9.0
func (*VerifiableReferenceRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifiableReferenceRequest.ProtoReflect.Descriptor instead.
func (*VerifiableReferenceRequest) GetProveSinceTx ¶ added in v0.9.0
func (x *VerifiableReferenceRequest) GetProveSinceTx() uint64
func (*VerifiableReferenceRequest) GetReferenceRequest ¶ added in v0.9.0
func (x *VerifiableReferenceRequest) GetReferenceRequest() *ReferenceRequest
func (*VerifiableReferenceRequest) ProtoMessage ¶ added in v0.9.0
func (*VerifiableReferenceRequest) ProtoMessage()
func (*VerifiableReferenceRequest) ProtoReflect ¶ added in v0.9.0
func (x *VerifiableReferenceRequest) ProtoReflect() protoreflect.Message
func (*VerifiableReferenceRequest) Reset ¶ added in v0.9.0
func (x *VerifiableReferenceRequest) Reset()
func (*VerifiableReferenceRequest) String ¶ added in v0.9.0
func (x *VerifiableReferenceRequest) String() string
type VerifiableSetRequest ¶ added in v0.9.0
type VerifiableSetRequest struct { SetRequest *SetRequest `protobuf:"bytes,1,opt,name=setRequest,proto3" json:"setRequest,omitempty"` ProveSinceTx uint64 `protobuf:"varint,2,opt,name=proveSinceTx,proto3" json:"proveSinceTx,omitempty"` // contains filtered or unexported fields }
func (*VerifiableSetRequest) Descriptor
deprecated
added in
v0.9.0
func (*VerifiableSetRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifiableSetRequest.ProtoReflect.Descriptor instead.
func (*VerifiableSetRequest) GetProveSinceTx ¶ added in v0.9.0
func (x *VerifiableSetRequest) GetProveSinceTx() uint64
func (*VerifiableSetRequest) GetSetRequest ¶ added in v0.9.0
func (x *VerifiableSetRequest) GetSetRequest() *SetRequest
func (*VerifiableSetRequest) ProtoMessage ¶ added in v0.9.0
func (*VerifiableSetRequest) ProtoMessage()
func (*VerifiableSetRequest) ProtoReflect ¶ added in v0.9.0
func (x *VerifiableSetRequest) ProtoReflect() protoreflect.Message
func (*VerifiableSetRequest) Reset ¶ added in v0.9.0
func (x *VerifiableSetRequest) Reset()
func (*VerifiableSetRequest) String ¶ added in v0.9.0
func (x *VerifiableSetRequest) String() string
type VerifiableTx ¶ added in v0.9.0
type VerifiableTx struct { Tx *Tx `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` DualProof *DualProof `protobuf:"bytes,2,opt,name=dualProof,proto3" json:"dualProof,omitempty"` Signature *Signature `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*VerifiableTx) Descriptor
deprecated
added in
v0.9.0
func (*VerifiableTx) Descriptor() ([]byte, []int)
Deprecated: Use VerifiableTx.ProtoReflect.Descriptor instead.
func (*VerifiableTx) GetDualProof ¶ added in v0.9.0
func (x *VerifiableTx) GetDualProof() *DualProof
func (*VerifiableTx) GetSignature ¶ added in v0.9.0
func (x *VerifiableTx) GetSignature() *Signature
func (*VerifiableTx) GetTx ¶ added in v0.9.0
func (x *VerifiableTx) GetTx() *Tx
func (*VerifiableTx) ProtoMessage ¶ added in v0.9.0
func (*VerifiableTx) ProtoMessage()
func (*VerifiableTx) ProtoReflect ¶ added in v0.9.0
func (x *VerifiableTx) ProtoReflect() protoreflect.Message
func (*VerifiableTx) Reset ¶ added in v0.9.0
func (x *VerifiableTx) Reset()
func (*VerifiableTx) String ¶ added in v0.9.0
func (x *VerifiableTx) String() string
type VerifiableTxRequest ¶ added in v0.9.0
type VerifiableTxRequest struct { Tx uint64 `protobuf:"varint,1,opt,name=tx,proto3" json:"tx,omitempty"` ProveSinceTx uint64 `protobuf:"varint,2,opt,name=proveSinceTx,proto3" json:"proveSinceTx,omitempty"` // contains filtered or unexported fields }
func (*VerifiableTxRequest) Descriptor
deprecated
added in
v0.9.0
func (*VerifiableTxRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifiableTxRequest.ProtoReflect.Descriptor instead.
func (*VerifiableTxRequest) GetProveSinceTx ¶ added in v0.9.0
func (x *VerifiableTxRequest) GetProveSinceTx() uint64
func (*VerifiableTxRequest) GetTx ¶ added in v0.9.0
func (x *VerifiableTxRequest) GetTx() uint64
func (*VerifiableTxRequest) ProtoMessage ¶ added in v0.9.0
func (*VerifiableTxRequest) ProtoMessage()
func (*VerifiableTxRequest) ProtoReflect ¶ added in v0.9.0
func (x *VerifiableTxRequest) ProtoReflect() protoreflect.Message
func (*VerifiableTxRequest) Reset ¶ added in v0.9.0
func (x *VerifiableTxRequest) Reset()
func (*VerifiableTxRequest) String ¶ added in v0.9.0
func (x *VerifiableTxRequest) String() string
type VerifiableZAddRequest ¶ added in v0.9.0
type VerifiableZAddRequest struct { ZAddRequest *ZAddRequest `protobuf:"bytes,1,opt,name=zAddRequest,proto3" json:"zAddRequest,omitempty"` ProveSinceTx uint64 `protobuf:"varint,2,opt,name=proveSinceTx,proto3" json:"proveSinceTx,omitempty"` // contains filtered or unexported fields }
func (*VerifiableZAddRequest) Descriptor
deprecated
added in
v0.9.0
func (*VerifiableZAddRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifiableZAddRequest.ProtoReflect.Descriptor instead.
func (*VerifiableZAddRequest) GetProveSinceTx ¶ added in v0.9.0
func (x *VerifiableZAddRequest) GetProveSinceTx() uint64
func (*VerifiableZAddRequest) GetZAddRequest ¶ added in v0.9.0
func (x *VerifiableZAddRequest) GetZAddRequest() *ZAddRequest
func (*VerifiableZAddRequest) ProtoMessage ¶ added in v0.9.0
func (*VerifiableZAddRequest) ProtoMessage()
func (*VerifiableZAddRequest) ProtoReflect ¶ added in v0.9.0
func (x *VerifiableZAddRequest) ProtoReflect() protoreflect.Message
func (*VerifiableZAddRequest) Reset ¶ added in v0.9.0
func (x *VerifiableZAddRequest) Reset()
func (*VerifiableZAddRequest) String ¶ added in v0.9.0
func (x *VerifiableZAddRequest) String() string
type ZAddRequest ¶ added in v0.9.0
type ZAddRequest 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"` AtTx uint64 `protobuf:"varint,4,opt,name=atTx,proto3" json:"atTx,omitempty"` // contains filtered or unexported fields }
func (*ZAddRequest) Descriptor
deprecated
added in
v0.9.0
func (*ZAddRequest) Descriptor() ([]byte, []int)
Deprecated: Use ZAddRequest.ProtoReflect.Descriptor instead.
func (*ZAddRequest) GetAtTx ¶ added in v0.9.0
func (x *ZAddRequest) GetAtTx() uint64
func (*ZAddRequest) GetKey ¶ added in v0.9.0
func (x *ZAddRequest) GetKey() []byte
func (*ZAddRequest) GetScore ¶ added in v0.9.0
func (x *ZAddRequest) GetScore() float64
func (*ZAddRequest) GetSet ¶ added in v0.9.0
func (x *ZAddRequest) GetSet() []byte
func (*ZAddRequest) ProtoMessage ¶ added in v0.9.0
func (*ZAddRequest) ProtoMessage()
func (*ZAddRequest) ProtoReflect ¶ added in v0.9.0
func (x *ZAddRequest) ProtoReflect() protoreflect.Message
func (*ZAddRequest) Reset ¶ added in v0.9.0
func (x *ZAddRequest) Reset()
func (*ZAddRequest) String ¶ added in v0.9.0
func (x *ZAddRequest) String() string
type ZEntries ¶ added in v0.9.0
type ZEntries struct { Entries []*ZEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
func (*ZEntries) Descriptor
deprecated
added in
v0.9.0
func (*ZEntries) GetEntries ¶ added in v0.9.0
func (*ZEntries) ProtoMessage ¶ added in v0.9.0
func (*ZEntries) ProtoMessage()
func (*ZEntries) ProtoReflect ¶ added in v0.9.0
func (x *ZEntries) ProtoReflect() protoreflect.Message
type ZEntry ¶ added in v0.9.0
type ZEntry struct { Set []byte `protobuf:"bytes,1,opt,name=set,proto3" json:"set,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Entry *Entry `protobuf:"bytes,3,opt,name=entry,proto3" json:"entry,omitempty"` Score float64 `protobuf:"fixed64,4,opt,name=score,proto3" json:"score,omitempty"` AtTx uint64 `protobuf:"varint,5,opt,name=atTx,proto3" json:"atTx,omitempty"` // contains filtered or unexported fields }
func (*ZEntry) Descriptor
deprecated
added in
v0.9.0
func (*ZEntry) ProtoMessage ¶ added in v0.9.0
func (*ZEntry) ProtoMessage()
func (*ZEntry) ProtoReflect ¶ added in v0.9.0
func (x *ZEntry) ProtoReflect() protoreflect.Message
type ZScanRequest ¶ added in v0.9.0
type ZScanRequest struct { Set []byte `protobuf:"bytes,1,opt,name=set,proto3" json:"set,omitempty"` SeekKey []byte `protobuf:"bytes,2,opt,name=seekKey,proto3" json:"seekKey,omitempty"` SeekScore float64 `protobuf:"fixed64,3,opt,name=seekScore,proto3" json:"seekScore,omitempty"` SeekAtTx uint64 `protobuf:"varint,4,opt,name=seekAtTx,proto3" json:"seekAtTx,omitempty"` InclusiveSeek bool `protobuf:"varint,5,opt,name=inclusiveSeek,proto3" json:"inclusiveSeek,omitempty"` Limit uint64 `protobuf:"varint,6,opt,name=limit,proto3" json:"limit,omitempty"` Desc bool `protobuf:"varint,7,opt,name=desc,proto3" json:"desc,omitempty"` MinScore *Score `protobuf:"bytes,8,opt,name=minScore,proto3" json:"minScore,omitempty"` MaxScore *Score `protobuf:"bytes,9,opt,name=maxScore,proto3" json:"maxScore,omitempty"` SinceTx uint64 `protobuf:"varint,10,opt,name=sinceTx,proto3" json:"sinceTx,omitempty"` // contains filtered or unexported fields }
func (*ZScanRequest) Descriptor
deprecated
added in
v0.9.0
func (*ZScanRequest) Descriptor() ([]byte, []int)
Deprecated: Use ZScanRequest.ProtoReflect.Descriptor instead.
func (*ZScanRequest) GetDesc ¶ added in v0.9.0
func (x *ZScanRequest) GetDesc() bool
func (*ZScanRequest) GetInclusiveSeek ¶ added in v0.9.0
func (x *ZScanRequest) GetInclusiveSeek() bool
func (*ZScanRequest) GetLimit ¶ added in v0.9.0
func (x *ZScanRequest) GetLimit() uint64
func (*ZScanRequest) GetMaxScore ¶ added in v0.9.0
func (x *ZScanRequest) GetMaxScore() *Score
func (*ZScanRequest) GetMinScore ¶ added in v0.9.0
func (x *ZScanRequest) GetMinScore() *Score
func (*ZScanRequest) GetSeekAtTx ¶ added in v0.9.0
func (x *ZScanRequest) GetSeekAtTx() uint64
func (*ZScanRequest) GetSeekKey ¶ added in v0.9.0
func (x *ZScanRequest) GetSeekKey() []byte
func (*ZScanRequest) GetSeekScore ¶ added in v0.9.0
func (x *ZScanRequest) GetSeekScore() float64
func (*ZScanRequest) GetSet ¶ added in v0.9.0
func (x *ZScanRequest) GetSet() []byte
func (*ZScanRequest) GetSinceTx ¶ added in v0.9.0
func (x *ZScanRequest) GetSinceTx() uint64
func (*ZScanRequest) ProtoMessage ¶ added in v0.9.0
func (*ZScanRequest) ProtoMessage()
func (*ZScanRequest) ProtoReflect ¶ added in v0.9.0
func (x *ZScanRequest) ProtoReflect() protoreflect.Message
func (*ZScanRequest) Reset ¶ added in v0.9.0
func (x *ZScanRequest) Reset()
func (*ZScanRequest) String ¶ added in v0.9.0
func (x *ZScanRequest) String() string