schema

package
v0.6.0-RC2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2020 License: Apache-2.0 Imports: 23 Imported by: 33 modules, 43 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package schema is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Merge

func Merge(payload []byte, timestamp uint64) (merged []byte, err error)

Merge return a marshalled content object

func Pattern_ImmuService_History_0

func Pattern_ImmuService_History_0() runtime.Pattern

Pattern_ImmuService_History_0 exposes the runtime Pattern need to overwrite history autogenerated request

func Pattern_ImmuService_SafeGet_0

func Pattern_ImmuService_SafeGet_0() runtime.Pattern

Pattern_ImmuService_SafeGet_0 exposes the runtime Pattern need to overwrite safeget autogenerated request

func Pattern_ImmuService_SafeReference_0

func Pattern_ImmuService_SafeReference_0() runtime.Pattern

Pattern_ImmuService_SafeReference_0 exposes the runtime Pattern need to overwrite safeReference autogenerated request

func Pattern_ImmuService_SafeSet_0

func Pattern_ImmuService_SafeSet_0() runtime.Pattern

Pattern_ImmuService_SafeSet_0 exposes the runtime Pattern need to overwrite safeset autogenerated request

func Pattern_ImmuService_SafeZAdd_0

func Pattern_ImmuService_SafeZAdd_0() runtime.Pattern

Pattern_ImmuService_SafeZAdd_0 exposes the runtime Pattern need to overwrite SafeZAdd autogenerated request

func Pattern_ImmuService_Set_0

func Pattern_ImmuService_Set_0() runtime.Pattern

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) Descriptor() ([]byte, []int)

func (*Content) GetPayload

func (m *Content) GetPayload() []byte

func (*Content) GetTimestamp

func (m *Content) GetTimestamp() uint64

func (*Content) ProtoMessage

func (*Content) ProtoMessage()

func (*Content) Reset

func (m *Content) Reset()

func (*Content) String

func (m *Content) String() string

func (*Content) XXX_DiscardUnknown

func (m *Content) XXX_DiscardUnknown()

func (*Content) XXX_Marshal

func (m *Content) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Content) XXX_Merge

func (m *Content) XXX_Merge(src proto.Message)

func (*Content) XXX_Size

func (m *Content) XXX_Size() int

func (*Content) XXX_Unmarshal

func (m *Content) XXX_Unmarshal(b []byte) error

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"`
	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) 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 CreateUserResponse

type CreateUserResponse 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 (*CreateUserResponse) Descriptor

func (*CreateUserResponse) Descriptor() ([]byte, []int)

func (*CreateUserResponse) GetUser

func (m *CreateUserResponse) GetUser() []byte

func (*CreateUserResponse) ProtoMessage

func (*CreateUserResponse) ProtoMessage()

func (*CreateUserResponse) Reset

func (m *CreateUserResponse) Reset()

func (*CreateUserResponse) String

func (m *CreateUserResponse) String() string

func (*CreateUserResponse) XXX_DiscardUnknown

func (m *CreateUserResponse) XXX_DiscardUnknown()

func (*CreateUserResponse) XXX_Marshal

func (m *CreateUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateUserResponse) XXX_Merge

func (m *CreateUserResponse) XXX_Merge(src proto.Message)

func (*CreateUserResponse) XXX_Size

func (m *CreateUserResponse) XXX_Size() int

func (*CreateUserResponse) XXX_Unmarshal

func (m *CreateUserResponse) XXX_Unmarshal(b []byte) error

type DeleteUserRequest

type DeleteUserRequest 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 (*DeleteUserRequest) Descriptor

func (*DeleteUserRequest) Descriptor() ([]byte, []int)

func (*DeleteUserRequest) GetUser

func (m *DeleteUserRequest) GetUser() []byte

func (*DeleteUserRequest) ProtoMessage

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) Reset

func (m *DeleteUserRequest) Reset()

func (*DeleteUserRequest) String

func (m *DeleteUserRequest) String() string

func (*DeleteUserRequest) XXX_DiscardUnknown

func (m *DeleteUserRequest) XXX_DiscardUnknown()

func (*DeleteUserRequest) XXX_Marshal

func (m *DeleteUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteUserRequest) XXX_Merge

func (m *DeleteUserRequest) XXX_Merge(src proto.Message)

func (*DeleteUserRequest) XXX_Size

func (m *DeleteUserRequest) XXX_Size() int

func (*DeleteUserRequest) XXX_Unmarshal

func (m *DeleteUserRequest) 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) (*ItemList, error)
	CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error)
	ChangePassword(ctx context.Context, in *ChangePasswordRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	DeleteUser(ctx context.Context, in *DeleteUserRequest, 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)
	Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, 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.

type ImmuServiceServer

type ImmuServiceServer interface {
	ListUsers(context.Context, *empty.Empty) (*ItemList, error)
	CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
	ChangePassword(context.Context, *ChangePasswordRequest) (*empty.Empty, error)
	DeleteUser(context.Context, *DeleteUserRequest) (*empty.Empty, error)
	UpdateAuthConfig(context.Context, *AuthConfig) (*empty.Empty, error)
	UpdateMTLSConfig(context.Context, *MTLSConfig) (*empty.Empty, error)
	Login(context.Context, *LoginRequest) (*LoginResponse, 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) Descriptor() ([]byte, []int)

func (*Index) GetIndex

func (m *Index) GetIndex() uint64

func (*Index) ProtoMessage

func (*Index) ProtoMessage()

func (*Index) Reset

func (m *Index) Reset()

func (*Index) String

func (m *Index) String() string

func (*Index) XXX_DiscardUnknown

func (m *Index) XXX_DiscardUnknown()

func (*Index) XXX_Marshal

func (m *Index) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Index) XXX_Merge

func (m *Index) XXX_Merge(src proto.Message)

func (*Index) XXX_Size

func (m *Index) XXX_Size() int

func (*Index) XXX_Unmarshal

func (m *Index) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Item) GetIndex

func (m *Item) GetIndex() uint64

func (*Item) GetKey

func (m *Item) GetKey() []byte

func (*Item) GetValue

func (m *Item) GetValue() []byte

func (*Item) Hash

func (i *Item) Hash() []byte

Hash returns the computed hash of _Item_.

func (*Item) MarshalJSON

func (m *Item) MarshalJSON() ([]byte, error)

func (*Item) ProtoMessage

func (*Item) ProtoMessage()

func (*Item) Reset

func (m *Item) Reset()

func (*Item) String

func (m *Item) String() string

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_Marshal

func (m *Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Item) XXX_Merge

func (m *Item) XXX_Merge(src proto.Message)

func (*Item) XXX_Size

func (m *Item) XXX_Size() int

func (*Item) XXX_Unmarshal

func (m *Item) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*ItemList) GetItems

func (m *ItemList) GetItems() []*Item

func (*ItemList) ProtoMessage

func (*ItemList) ProtoMessage()

func (*ItemList) Reset

func (m *ItemList) Reset()

func (*ItemList) String

func (m *ItemList) String() string

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 (m *ItemList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ItemList) XXX_Merge

func (m *ItemList) XXX_Merge(src proto.Message)

func (*ItemList) XXX_Size

func (m *ItemList) XXX_Size() int

func (*ItemList) XXX_Unmarshal

func (m *ItemList) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*KVList) GetKVs

func (m *KVList) GetKVs() []*KeyValue

func (*KVList) ProtoMessage

func (*KVList) ProtoMessage()

func (*KVList) Reset

func (m *KVList) Reset()

func (*KVList) String

func (m *KVList) String() string

func (*KVList) XXX_DiscardUnknown

func (m *KVList) XXX_DiscardUnknown()

func (*KVList) XXX_Marshal

func (m *KVList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KVList) XXX_Merge

func (m *KVList) XXX_Merge(src proto.Message)

func (*KVList) XXX_Size

func (m *KVList) XXX_Size() int

func (*KVList) XXX_Unmarshal

func (m *KVList) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Key) GetKey

func (m *Key) GetKey() []byte

func (*Key) ProtoMessage

func (*Key) ProtoMessage()

func (*Key) Reset

func (m *Key) Reset()

func (*Key) String

func (m *Key) String() string

func (*Key) XXX_DiscardUnknown

func (m *Key) XXX_DiscardUnknown()

func (*Key) XXX_Marshal

func (m *Key) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Key) XXX_Merge

func (m *Key) XXX_Merge(src proto.Message)

func (*Key) XXX_Size

func (m *Key) XXX_Size() int

func (*Key) XXX_Unmarshal

func (m *Key) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*KeyList) GetKeys

func (m *KeyList) GetKeys() []*Key

func (*KeyList) ProtoMessage

func (*KeyList) ProtoMessage()

func (*KeyList) Reset

func (m *KeyList) Reset()

func (*KeyList) String

func (m *KeyList) String() string

func (*KeyList) XXX_DiscardUnknown

func (m *KeyList) XXX_DiscardUnknown()

func (*KeyList) XXX_Marshal

func (m *KeyList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeyList) XXX_Merge

func (m *KeyList) XXX_Merge(src proto.Message)

func (*KeyList) XXX_Size

func (m *KeyList) XXX_Size() int

func (*KeyList) XXX_Unmarshal

func (m *KeyList) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*KeyPrefix) GetPrefix

func (m *KeyPrefix) GetPrefix() []byte

func (*KeyPrefix) ProtoMessage

func (*KeyPrefix) ProtoMessage()

func (*KeyPrefix) Reset

func (m *KeyPrefix) Reset()

func (*KeyPrefix) String

func (m *KeyPrefix) String() string

func (*KeyPrefix) XXX_DiscardUnknown

func (m *KeyPrefix) XXX_DiscardUnknown()

func (*KeyPrefix) XXX_Marshal

func (m *KeyPrefix) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeyPrefix) XXX_Merge

func (m *KeyPrefix) XXX_Merge(src proto.Message)

func (*KeyPrefix) XXX_Size

func (m *KeyPrefix) XXX_Size() int

func (*KeyPrefix) XXX_Unmarshal

func (m *KeyPrefix) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*KeyValue) GetKey

func (m *KeyValue) GetKey() []byte

func (*KeyValue) GetValue

func (m *KeyValue) GetValue() []byte

func (*KeyValue) ProtoMessage

func (*KeyValue) ProtoMessage()

func (*KeyValue) Reset

func (m *KeyValue) Reset()

func (*KeyValue) String

func (m *KeyValue) String() string

func (*KeyValue) XXX_DiscardUnknown

func (m *KeyValue) XXX_DiscardUnknown()

func (*KeyValue) XXX_Marshal

func (m *KeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeyValue) XXX_Merge

func (m *KeyValue) XXX_Merge(src proto.Message)

func (*KeyValue) XXX_Size

func (m *KeyValue) XXX_Size() int

func (*KeyValue) XXX_Unmarshal

func (m *KeyValue) XXX_Unmarshal(b []byte) error

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"`
	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) 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 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) Descriptor() ([]byte, []int)

func (*Page) GetItems

func (m *Page) GetItems() []*Item

func (*Page) GetMore

func (m *Page) GetMore() bool

func (*Page) ProtoMessage

func (*Page) ProtoMessage()

func (*Page) Reset

func (m *Page) Reset()

func (*Page) String

func (m *Page) String() string

func (*Page) ToSPage

func (list *Page) ToSPage() (*SPage, error)

func (*Page) XXX_DiscardUnknown

func (m *Page) XXX_DiscardUnknown()

func (*Page) XXX_Marshal

func (m *Page) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Page) XXX_Merge

func (m *Page) XXX_Merge(src proto.Message)

func (*Page) XXX_Size

func (m *Page) XXX_Size() int

func (*Page) XXX_Unmarshal

func (m *Page) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Proof) GetAt

func (m *Proof) GetAt() uint64

func (*Proof) GetConsistencyPath

func (m *Proof) GetConsistencyPath() [][]byte

func (*Proof) GetInclusionPath

func (m *Proof) GetInclusionPath() [][]byte

func (*Proof) GetIndex

func (m *Proof) GetIndex() uint64

func (*Proof) GetLeaf

func (m *Proof) GetLeaf() []byte

func (*Proof) GetRoot

func (m *Proof) GetRoot() []byte

func (*Proof) NewRoot

func (p *Proof) NewRoot() *Root

NewRoot returns a new _Root_ object which holds values referenced by the proof _p_.

func (*Proof) ProtoMessage

func (*Proof) ProtoMessage()

func (*Proof) Reset

func (m *Proof) Reset()

func (*Proof) String

func (m *Proof) String() string

func (*Proof) Verify

func (p *Proof) Verify(leaf []byte, prevRoot Root) bool

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 (m *Proof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Proof) XXX_Merge

func (m *Proof) XXX_Merge(src proto.Message)

func (*Proof) XXX_Size

func (m *Proof) XXX_Size() int

func (*Proof) XXX_Unmarshal

func (m *Proof) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Root) GetIndex

func (m *Root) GetIndex() uint64

func (*Root) GetRoot

func (m *Root) GetRoot() []byte

func (*Root) ProtoMessage

func (*Root) ProtoMessage()

func (*Root) Reset

func (m *Root) Reset()

func (*Root) String

func (m *Root) String() string

func (*Root) XXX_DiscardUnknown

func (m *Root) XXX_DiscardUnknown()

func (*Root) XXX_Marshal

func (m *Root) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Root) XXX_Merge

func (m *Root) XXX_Merge(src proto.Message)

func (*Root) XXX_Size

func (m *Root) XXX_Size() int

func (*Root) XXX_Unmarshal

func (m *Root) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*SKVList) GetSKVs

func (m *SKVList) GetSKVs() []*StructuredKeyValue

func (*SKVList) ProtoMessage

func (*SKVList) ProtoMessage()

func (*SKVList) Reset

func (m *SKVList) Reset()

func (*SKVList) String

func (m *SKVList) String() string

func (*SKVList) ToKVList

func (skvl *SKVList) ToKVList() (*KVList, error)

ToKVList return a KVList from the receiver

func (*SKVList) XXX_DiscardUnknown

func (m *SKVList) XXX_DiscardUnknown()

func (*SKVList) XXX_Marshal

func (m *SKVList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SKVList) XXX_Merge

func (m *SKVList) XXX_Merge(src proto.Message)

func (*SKVList) XXX_Size

func (m *SKVList) XXX_Size() int

func (*SKVList) XXX_Unmarshal

func (m *SKVList) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*SPage) GetItems

func (m *SPage) GetItems() []*StructuredItem

func (*SPage) GetMore

func (m *SPage) GetMore() bool

func (*SPage) GetPageNum

func (m *SPage) GetPageNum() uint64

func (*SPage) ProtoMessage

func (*SPage) ProtoMessage()

func (*SPage) Reset

func (m *SPage) Reset()

func (*SPage) String

func (m *SPage) String() string

func (*SPage) XXX_DiscardUnknown

func (m *SPage) XXX_DiscardUnknown()

func (*SPage) XXX_Marshal

func (m *SPage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SPage) XXX_Merge

func (m *SPage) XXX_Merge(src proto.Message)

func (*SPage) XXX_Size

func (m *SPage) XXX_Size() int

func (*SPage) XXX_Unmarshal

func (m *SPage) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*SafeItem) GetItem

func (m *SafeItem) GetItem() *Item

func (*SafeItem) GetProof

func (m *SafeItem) GetProof() *Proof

func (*SafeItem) Hash

func (s *SafeItem) Hash() ([]byte, error)

func (*SafeItem) ProtoMessage

func (*SafeItem) ProtoMessage()

func (*SafeItem) Reset

func (m *SafeItem) Reset()

func (*SafeItem) String

func (m *SafeItem) String() string

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 (m *SafeItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SafeItem) XXX_Merge

func (m *SafeItem) XXX_Merge(src proto.Message)

func (*SafeItem) XXX_Size

func (m *SafeItem) XXX_Size() int

func (*SafeItem) XXX_Unmarshal

func (m *SafeItem) XXX_Unmarshal(b []byte) error

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 (*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)

func (*StructuredItem) MarshalJSON

func (m *StructuredItem) MarshalJSON() ([]byte, error)

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 UnimplementedImmuServiceServer

type UnimplementedImmuServiceServer struct {
}

UnimplementedImmuServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedImmuServiceServer) ByIndex

func (*UnimplementedImmuServiceServer) ByIndexSV

func (*UnimplementedImmuServiceServer) BySafeIndex

func (*UnimplementedImmuServiceServer) ChangePassword

func (*UnimplementedImmuServiceServer) Consistency

func (*UnimplementedImmuServiceServer) Count

func (*UnimplementedImmuServiceServer) CreateUser

func (*UnimplementedImmuServiceServer) CurrentRoot

func (*UnimplementedImmuServiceServer) CurrentRoot(ctx context.Context, req *empty.Empty) (*Root, error)

func (*UnimplementedImmuServiceServer) DeleteUser

func (*UnimplementedImmuServiceServer) Dump

func (*UnimplementedImmuServiceServer) Get

func (*UnimplementedImmuServiceServer) GetBatch

func (*UnimplementedImmuServiceServer) GetBatchSV

func (*UnimplementedImmuServiceServer) GetSV

func (*UnimplementedImmuServiceServer) Health

func (*UnimplementedImmuServiceServer) History

func (*UnimplementedImmuServiceServer) HistorySV

func (*UnimplementedImmuServiceServer) IScan

func (*UnimplementedImmuServiceServer) IScanSV

func (*UnimplementedImmuServiceServer) Inclusion

func (*UnimplementedImmuServiceServer) ListUsers

func (*UnimplementedImmuServiceServer) Login

func (*UnimplementedImmuServiceServer) Reference

func (*UnimplementedImmuServiceServer) SafeGet

func (*UnimplementedImmuServiceServer) SafeGetSV

func (*UnimplementedImmuServiceServer) SafeReference

func (*UnimplementedImmuServiceServer) SafeSet

func (*UnimplementedImmuServiceServer) SafeSetSV

func (*UnimplementedImmuServiceServer) SafeZAdd

func (*UnimplementedImmuServiceServer) Scan

func (*UnimplementedImmuServiceServer) ScanSV

func (*UnimplementedImmuServiceServer) Set

func (*UnimplementedImmuServiceServer) SetBatch

func (*UnimplementedImmuServiceServer) SetBatchSV

func (*UnimplementedImmuServiceServer) SetBatchSV(ctx context.Context, req *SKVList) (*Index, error)

func (*UnimplementedImmuServiceServer) SetSV

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) ZScan

func (*UnimplementedImmuServiceServer) ZScanSV

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL