schema

package
v0.0.0-20200206 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2020 License: Apache-2.0 Imports: 12 Imported by: 42

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterImmuServiceServer

func RegisterImmuServiceServer(s *grpc.Server, srv ImmuServiceServer)

Types

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 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 ImmuServiceClient

type ImmuServiceClient interface {
	Set(ctx context.Context, in *KeyValue, opts ...grpc.CallOption) (*Index, error)
	SafeSet(ctx context.Context, in *SafeSetOptions, opts ...grpc.CallOption) (*Proof, error)
	SetBatch(ctx context.Context, in *KVList, opts ...grpc.CallOption) (*Index, error)
	Get(ctx context.Context, in *Key, opts ...grpc.CallOption) (*Item, error)
	SafeGet(ctx context.Context, in *SafeGetOptions, opts ...grpc.CallOption) (*SafeItem, error)
	GetBatch(ctx context.Context, in *KeyList, opts ...grpc.CallOption) (*ItemList, error)
	Scan(ctx context.Context, in *ScanOptions, opts ...grpc.CallOption) (*ItemList, 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)
	History(ctx context.Context, in *Key, opts ...grpc.CallOption) (*ItemList, error)
	Health(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*HealthResponse, 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.ClientConn) ImmuServiceClient

type ImmuServiceServer

ImmuServiceServer is the server API for ImmuService service.

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

func (*Item) ProtoMessage()

func (*Item) Reset

func (m *Item) Reset()

func (*Item) String

func (m *Item) String() string

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

type SafeGetOptions struct {
	Key                  *Key     `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() *Key

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

func (*SafeItem) ProtoMessage()

func (*SafeItem) Reset

func (m *SafeItem) Reset()

func (*SafeItem) String

func (m *SafeItem) String() string

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 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 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ScanOptions) Descriptor

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

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 UnimplementedImmuServiceServer

type UnimplementedImmuServiceServer struct {
}

UnimplementedImmuServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedImmuServiceServer) ByIndex

func (*UnimplementedImmuServiceServer) Consistency

func (*UnimplementedImmuServiceServer) Count

func (*UnimplementedImmuServiceServer) CurrentRoot

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

func (*UnimplementedImmuServiceServer) Get

func (*UnimplementedImmuServiceServer) GetBatch

func (*UnimplementedImmuServiceServer) Health

func (*UnimplementedImmuServiceServer) History

func (*UnimplementedImmuServiceServer) Inclusion

func (*UnimplementedImmuServiceServer) SafeGet

func (*UnimplementedImmuServiceServer) SafeSet

func (*UnimplementedImmuServiceServer) Scan

func (*UnimplementedImmuServiceServer) Set

func (*UnimplementedImmuServiceServer) SetBatch

Jump to

Keyboard shortcuts

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