schema

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2020 License: Apache-2.0 Imports: 26 Imported by: 41

Documentation

Overview

Package schema is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnexpectedNotStructuredValue     = status.New(codes.FailedPrecondition, "unexpected not structured value encountered").Err()
	ErrEmptySet                         = status.New(codes.InvalidArgument, "empty set").Err()
	ErrDuplicatedKeysNotSupported       = status.New(codes.InvalidArgument, "duplicated keys are not supported in single batch transaction").Err()
	ErrDuplicatedZAddNotSupported       = status.New(codes.InvalidArgument, "duplicated index inside zAdd insertions are not supported in single batch transaction").Err()
	ErrDuplicatedReferencesNotSupported = status.New(codes.InvalidArgument, "duplicated references insertions are not supported in single batch transaction").Err()
)
View Source
var PermissionAction_name = map[int32]string{
	0: "GRANT",
	1: "REVOKE",
}
View Source
var PermissionAction_value = map[string]int32{
	"GRANT":  0,
	"REVOKE": 1,
}

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 Pattern_ImmuService_UseDatabase_0 added in v0.7.0

func Pattern_ImmuService_UseDatabase_0() runtime.Pattern

Pattern_ImmuService_UseDatabase_0 exposes the runtime Pattern need to overwrite UseDatabase 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 ChangePermissionRequest added in v0.7.0

type ChangePermissionRequest struct {
	Action               PermissionAction `protobuf:"varint,1,opt,name=action,proto3,enum=immudb.schema.PermissionAction" json:"action,omitempty"`
	Username             string           `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	Database             string           `protobuf:"bytes,3,opt,name=database,proto3" json:"database,omitempty"`
	Permission           uint32           `protobuf:"varint,4,opt,name=permission,proto3" json:"permission,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*ChangePermissionRequest) Descriptor added in v0.7.0

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

func (*ChangePermissionRequest) GetAction added in v0.7.0

func (*ChangePermissionRequest) GetDatabase added in v0.7.0

func (m *ChangePermissionRequest) GetDatabase() string

func (*ChangePermissionRequest) GetPermission added in v0.7.0

func (m *ChangePermissionRequest) GetPermission() uint32

func (*ChangePermissionRequest) GetUsername added in v0.7.0

func (m *ChangePermissionRequest) GetUsername() string

func (*ChangePermissionRequest) ProtoMessage added in v0.7.0

func (*ChangePermissionRequest) ProtoMessage()

func (*ChangePermissionRequest) Reset added in v0.7.0

func (m *ChangePermissionRequest) Reset()

func (*ChangePermissionRequest) String added in v0.7.0

func (m *ChangePermissionRequest) String() string

func (*ChangePermissionRequest) XXX_DiscardUnknown added in v0.7.0

func (m *ChangePermissionRequest) XXX_DiscardUnknown()

func (*ChangePermissionRequest) XXX_Marshal added in v0.7.0

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

func (*ChangePermissionRequest) XXX_Merge added in v0.7.0

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

func (*ChangePermissionRequest) XXX_Size added in v0.7.0

func (m *ChangePermissionRequest) XXX_Size() int

func (*ChangePermissionRequest) XXX_Unmarshal added in v0.7.0

func (m *ChangePermissionRequest) 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"`
	Permission           uint32   `protobuf:"varint,3,opt,name=permission,proto3" json:"permission,omitempty"`
	Database             string   `protobuf:"bytes,4,opt,name=database,proto3" json:"database,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateUserRequest) Descriptor

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

func (*CreateUserRequest) GetDatabase added in v0.7.0

func (m *CreateUserRequest) GetDatabase() string

func (*CreateUserRequest) GetPassword

func (m *CreateUserRequest) GetPassword() []byte

func (*CreateUserRequest) GetPermission added in v0.7.0

func (m *CreateUserRequest) GetPermission() uint32

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 Database added in v0.7.0

type Database struct {
	Databasename         string   `protobuf:"bytes,1,opt,name=databasename,proto3" json:"databasename,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Database) Descriptor added in v0.7.0

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

func (*Database) GetDatabasename added in v0.7.0

func (m *Database) GetDatabasename() string

func (*Database) ProtoMessage added in v0.7.0

func (*Database) ProtoMessage()

func (*Database) Reset added in v0.7.0

func (m *Database) Reset()

func (*Database) String added in v0.7.0

func (m *Database) String() string

func (*Database) XXX_DiscardUnknown added in v0.7.0

func (m *Database) XXX_DiscardUnknown()

func (*Database) XXX_Marshal added in v0.7.0

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

func (*Database) XXX_Merge added in v0.7.0

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

func (*Database) XXX_Size added in v0.7.0

func (m *Database) XXX_Size() int

func (*Database) XXX_Unmarshal added in v0.7.0

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

type DatabaseListResponse added in v0.7.0

type DatabaseListResponse struct {
	Databases            []*Database `protobuf:"bytes,1,rep,name=databases,proto3" json:"databases,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*DatabaseListResponse) Descriptor added in v0.7.0

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

func (*DatabaseListResponse) GetDatabases added in v0.7.0

func (m *DatabaseListResponse) GetDatabases() []*Database

func (*DatabaseListResponse) ProtoMessage added in v0.7.0

func (*DatabaseListResponse) ProtoMessage()

func (*DatabaseListResponse) Reset added in v0.7.0

func (m *DatabaseListResponse) Reset()

func (*DatabaseListResponse) String added in v0.7.0

func (m *DatabaseListResponse) String() string

func (*DatabaseListResponse) XXX_DiscardUnknown added in v0.7.0

func (m *DatabaseListResponse) XXX_DiscardUnknown()

func (*DatabaseListResponse) XXX_Marshal added in v0.7.0

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

func (*DatabaseListResponse) XXX_Merge added in v0.7.0

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

func (*DatabaseListResponse) XXX_Size added in v0.7.0

func (m *DatabaseListResponse) XXX_Size() int

func (*DatabaseListResponse) XXX_Unmarshal added in v0.7.0

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

type HealthResponse

type HealthResponse struct {
	Status               bool     `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	Version              string   `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	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) GetVersion added in v0.7.0

func (m *HealthResponse) GetVersion() string

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 HistoryOptions added in v0.8.1

type HistoryOptions struct {
	Key                  []byte   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Offset               uint64   `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit                uint64   `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	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 (*HistoryOptions) Descriptor added in v0.8.1

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

func (*HistoryOptions) GetKey added in v0.8.1

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

func (*HistoryOptions) GetLimit added in v0.8.1

func (m *HistoryOptions) GetLimit() uint64

func (*HistoryOptions) GetOffset added in v0.8.1

func (m *HistoryOptions) GetOffset() uint64

func (*HistoryOptions) GetReverse added in v0.8.1

func (m *HistoryOptions) GetReverse() bool

func (*HistoryOptions) ProtoMessage added in v0.8.1

func (*HistoryOptions) ProtoMessage()

func (*HistoryOptions) Reset added in v0.8.1

func (m *HistoryOptions) Reset()

func (*HistoryOptions) String added in v0.8.1

func (m *HistoryOptions) String() string

func (*HistoryOptions) XXX_DiscardUnknown added in v0.8.1

func (m *HistoryOptions) XXX_DiscardUnknown()

func (*HistoryOptions) XXX_Marshal added in v0.8.1

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

func (*HistoryOptions) XXX_Merge added in v0.8.1

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

func (*HistoryOptions) XXX_Size added in v0.8.1

func (m *HistoryOptions) XXX_Size() int

func (*HistoryOptions) XXX_Unmarshal added in v0.8.1

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

type IScanOptions

type IScanOptions struct {
	PageSize             uint64   `protobuf:"varint,1,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	PageNumber           uint64   `protobuf:"varint,2,opt,name=pageNumber,proto3" json:"pageNumber,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*IScanOptions) Descriptor

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

func (*IScanOptions) GetPageNumber

func (m *IScanOptions) GetPageNumber() uint64

func (*IScanOptions) GetPageSize

func (m *IScanOptions) GetPageSize() uint64

func (*IScanOptions) ProtoMessage

func (*IScanOptions) ProtoMessage()

func (*IScanOptions) Reset

func (m *IScanOptions) Reset()

func (*IScanOptions) String

func (m *IScanOptions) String() string

func (*IScanOptions) XXX_DiscardUnknown

func (m *IScanOptions) XXX_DiscardUnknown()

func (*IScanOptions) XXX_Marshal

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

func (*IScanOptions) XXX_Merge

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

func (*IScanOptions) XXX_Size

func (m *IScanOptions) XXX_Size() int

func (*IScanOptions) XXX_Unmarshal

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

type ImmuServiceClient

type ImmuServiceClient interface {
	ListUsers(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*UserList, error)
	CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	ChangePassword(ctx context.Context, in *ChangePasswordRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	UpdateAuthConfig(ctx context.Context, in *AuthConfig, opts ...grpc.CallOption) (*empty.Empty, error)
	UpdateMTLSConfig(ctx context.Context, in *MTLSConfig, opts ...grpc.CallOption) (*empty.Empty, error)
	PrintTree(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Tree, error)
	Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
	Logout(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
	Set(ctx context.Context, in *KeyValue, opts ...grpc.CallOption) (*Index, error)
	SafeSet(ctx context.Context, in *SafeSetOptions, opts ...grpc.CallOption) (*Proof, error)
	Get(ctx context.Context, in *Key, opts ...grpc.CallOption) (*Item, error)
	SafeGet(ctx context.Context, in *SafeGetOptions, opts ...grpc.CallOption) (*SafeItem, error)
	SetBatch(ctx context.Context, in *KVList, opts ...grpc.CallOption) (*Index, error)
	GetBatch(ctx context.Context, in *KeyList, opts ...grpc.CallOption) (*ItemList, error)
	ExecAllOps(ctx context.Context, in *Ops, opts ...grpc.CallOption) (*Index, error)
	Scan(ctx context.Context, in *ScanOptions, opts ...grpc.CallOption) (*ItemList, error)
	Count(ctx context.Context, in *KeyPrefix, opts ...grpc.CallOption) (*ItemsCount, error)
	CountAll(ctx context.Context, in *empty.Empty, 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)
	History(ctx context.Context, in *HistoryOptions, opts ...grpc.CallOption) (*ItemList, error)
	Health(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*HealthResponse, error)
	Reference(ctx context.Context, in *ReferenceOptions, opts ...grpc.CallOption) (*Index, error)
	GetReference(ctx context.Context, in *Key, opts ...grpc.CallOption) (*Item, 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) (*ZItemList, error)
	SafeZAdd(ctx context.Context, in *SafeZAddOptions, opts ...grpc.CallOption) (*Proof, error)
	IScan(ctx context.Context, in *IScanOptions, opts ...grpc.CallOption) (*Page, error)
	Dump(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (ImmuService_DumpClient, error)
	// todo(joe-dz): Enable restore when the feature is required again
	//	rpc Restore(stream pb.KVList) returns (ItemsCount) {
	//		option (google.api.http) = {
	//			post: "/v1/immurestproxy/restore"
	//			body: "*"
	//		};
	//	}
	CreateDatabase(ctx context.Context, in *Database, opts ...grpc.CallOption) (*empty.Empty, error)
	UseDatabase(ctx context.Context, in *Database, opts ...grpc.CallOption) (*UseDatabaseReply, error)
	ChangePermission(ctx context.Context, in *ChangePermissionRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	SetActiveUser(ctx context.Context, in *SetActiveUserRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	DatabaseList(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*DatabaseListResponse, error)
}

ImmuServiceClient is the client API for ImmuService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type ImmuServiceServer

type ImmuServiceServer interface {
	ListUsers(context.Context, *empty.Empty) (*UserList, error)
	CreateUser(context.Context, *CreateUserRequest) (*empty.Empty, error)
	ChangePassword(context.Context, *ChangePasswordRequest) (*empty.Empty, error)
	UpdateAuthConfig(context.Context, *AuthConfig) (*empty.Empty, error)
	UpdateMTLSConfig(context.Context, *MTLSConfig) (*empty.Empty, error)
	PrintTree(context.Context, *empty.Empty) (*Tree, error)
	Login(context.Context, *LoginRequest) (*LoginResponse, error)
	Logout(context.Context, *empty.Empty) (*empty.Empty, error)
	Set(context.Context, *KeyValue) (*Index, error)
	SafeSet(context.Context, *SafeSetOptions) (*Proof, error)
	Get(context.Context, *Key) (*Item, error)
	SafeGet(context.Context, *SafeGetOptions) (*SafeItem, error)
	SetBatch(context.Context, *KVList) (*Index, error)
	GetBatch(context.Context, *KeyList) (*ItemList, error)
	ExecAllOps(context.Context, *Ops) (*Index, error)
	Scan(context.Context, *ScanOptions) (*ItemList, error)
	Count(context.Context, *KeyPrefix) (*ItemsCount, error)
	CountAll(context.Context, *empty.Empty) (*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)
	History(context.Context, *HistoryOptions) (*ItemList, error)
	Health(context.Context, *empty.Empty) (*HealthResponse, error)
	Reference(context.Context, *ReferenceOptions) (*Index, error)
	GetReference(context.Context, *Key) (*Item, error)
	SafeReference(context.Context, *SafeReferenceOptions) (*Proof, error)
	ZAdd(context.Context, *ZAddOptions) (*Index, error)
	ZScan(context.Context, *ZScanOptions) (*ZItemList, error)
	SafeZAdd(context.Context, *SafeZAddOptions) (*Proof, error)
	IScan(context.Context, *IScanOptions) (*Page, error)
	Dump(*empty.Empty, ImmuService_DumpServer) error
	// todo(joe-dz): Enable restore when the feature is required again
	//	rpc Restore(stream pb.KVList) returns (ItemsCount) {
	//		option (google.api.http) = {
	//			post: "/v1/immurestproxy/restore"
	//			body: "*"
	//		};
	//	}
	CreateDatabase(context.Context, *Database) (*empty.Empty, error)
	UseDatabase(context.Context, *Database) (*UseDatabaseReply, error)
	ChangePermission(context.Context, *ChangePermissionRequest) (*empty.Empty, error)
	SetActiveUser(context.Context, *SetActiveUserRequest) (*empty.Empty, error)
	DatabaseList(context.Context, *empty.Empty) (*DatabaseListResponse, error)
}

ImmuServiceServer is the server API for ImmuService service.

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

MarshalJSON marshals the item to JSON

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) Validate added in v0.8.0

func (l KVList) Validate() error

Validate checks for duplicated keys values that are not supported at the moment.

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 Layer added in v0.6.1

type Layer struct {
	L                    []*Node  `protobuf:"bytes,1,rep,name=l,proto3" json:"l,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Layer) Descriptor added in v0.6.1

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

func (*Layer) GetL added in v0.6.1

func (m *Layer) GetL() []*Node

func (*Layer) ProtoMessage added in v0.6.1

func (*Layer) ProtoMessage()

func (*Layer) Reset added in v0.6.1

func (m *Layer) Reset()

func (*Layer) String added in v0.6.1

func (m *Layer) String() string

func (*Layer) XXX_DiscardUnknown added in v0.6.1

func (m *Layer) XXX_DiscardUnknown()

func (*Layer) XXX_Marshal added in v0.6.1

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

func (*Layer) XXX_Merge added in v0.6.1

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

func (*Layer) XXX_Size added in v0.6.1

func (m *Layer) XXX_Size() int

func (*Layer) XXX_Unmarshal added in v0.6.1

func (m *Layer) 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                string   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Warning              []byte   `protobuf:"bytes,2,opt,name=warning,proto3" json:"warning,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LoginResponse) Descriptor

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

func (*LoginResponse) GetToken

func (m *LoginResponse) GetToken() string

func (*LoginResponse) GetWarning added in v0.6.2

func (m *LoginResponse) GetWarning() []byte

func (*LoginResponse) ProtoMessage

func (*LoginResponse) ProtoMessage()

func (*LoginResponse) Reset

func (m *LoginResponse) Reset()

func (*LoginResponse) String

func (m *LoginResponse) String() string

func (*LoginResponse) XXX_DiscardUnknown

func (m *LoginResponse) XXX_DiscardUnknown()

func (*LoginResponse) XXX_Marshal

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

func (*LoginResponse) XXX_Merge

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

func (*LoginResponse) XXX_Size

func (m *LoginResponse) XXX_Size() int

func (*LoginResponse) XXX_Unmarshal

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

type MTLSConfig

type MTLSConfig struct {
	Enabled              bool     `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MTLSConfig) Descriptor

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

func (*MTLSConfig) GetEnabled

func (m *MTLSConfig) GetEnabled() bool

func (*MTLSConfig) ProtoMessage

func (*MTLSConfig) ProtoMessage()

func (*MTLSConfig) Reset

func (m *MTLSConfig) Reset()

func (*MTLSConfig) String

func (m *MTLSConfig) String() string

func (*MTLSConfig) XXX_DiscardUnknown

func (m *MTLSConfig) XXX_DiscardUnknown()

func (*MTLSConfig) XXX_Marshal

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

func (*MTLSConfig) XXX_Merge

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

func (*MTLSConfig) XXX_Size

func (m *MTLSConfig) XXX_Size() int

func (*MTLSConfig) XXX_Unmarshal

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

type Node added in v0.6.1

type Node struct {
	I                    []byte   `protobuf:"bytes,1,opt,name=i,proto3" json:"i,omitempty"`
	H                    []byte   `protobuf:"bytes,2,opt,name=h,proto3" json:"h,omitempty"`
	Refk                 []byte   `protobuf:"bytes,3,opt,name=refk,proto3" json:"refk,omitempty"`
	Ref                  bool     `protobuf:"varint,4,opt,name=ref,proto3" json:"ref,omitempty"`
	Cache                bool     `protobuf:"varint,5,opt,name=cache,proto3" json:"cache,omitempty"`
	Root                 bool     `protobuf:"varint,6,opt,name=root,proto3" json:"root,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Node) Descriptor added in v0.6.1

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

func (*Node) GetCache added in v0.6.1

func (m *Node) GetCache() bool

func (*Node) GetH added in v0.6.1

func (m *Node) GetH() []byte

func (*Node) GetI added in v0.6.1

func (m *Node) GetI() []byte

func (*Node) GetRef added in v0.6.1

func (m *Node) GetRef() bool

func (*Node) GetRefk added in v0.6.1

func (m *Node) GetRefk() []byte

func (*Node) GetRoot added in v0.6.1

func (m *Node) GetRoot() bool

func (*Node) ProtoMessage added in v0.6.1

func (*Node) ProtoMessage()

func (*Node) Reset added in v0.6.1

func (m *Node) Reset()

func (*Node) String added in v0.6.1

func (m *Node) String() string

func (*Node) XXX_DiscardUnknown added in v0.6.1

func (m *Node) XXX_DiscardUnknown()

func (*Node) XXX_Marshal added in v0.6.1

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

func (*Node) XXX_Merge added in v0.6.1

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

func (*Node) XXX_Size added in v0.6.1

func (m *Node) XXX_Size() int

func (*Node) XXX_Unmarshal added in v0.6.1

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

type Op added in v0.8.1

type Op struct {
	// Types that are valid to be assigned to Operation:
	//	*Op_KVs
	//	*Op_ZOpts
	//	*Op_ROpts
	Operation            isOp_Operation `protobuf_oneof:"operation"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*Op) Descriptor added in v0.8.1

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

func (*Op) GetKVs added in v0.8.1

func (m *Op) GetKVs() *KeyValue

func (*Op) GetOperation added in v0.8.1

func (m *Op) GetOperation() isOp_Operation

func (*Op) GetROpts added in v0.8.1

func (m *Op) GetROpts() *ReferenceOptions

func (*Op) GetZOpts added in v0.8.1

func (m *Op) GetZOpts() *ZAddOptions

func (*Op) ProtoMessage added in v0.8.1

func (*Op) ProtoMessage()

func (*Op) Reset added in v0.8.1

func (m *Op) Reset()

func (*Op) String added in v0.8.1

func (m *Op) String() string

func (*Op) XXX_DiscardUnknown added in v0.8.1

func (m *Op) XXX_DiscardUnknown()

func (*Op) XXX_Marshal added in v0.8.1

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

func (*Op) XXX_Merge added in v0.8.1

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

func (*Op) XXX_OneofWrappers added in v0.8.1

func (*Op) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Op) XXX_Size added in v0.8.1

func (m *Op) XXX_Size() int

func (*Op) XXX_Unmarshal added in v0.8.1

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

type Op_KVs added in v0.8.1

type Op_KVs struct {
	KVs *KeyValue `protobuf:"bytes,1,opt,name=KVs,proto3,oneof"`
}

type Op_ROpts added in v0.8.1

type Op_ROpts struct {
	ROpts *ReferenceOptions `protobuf:"bytes,3,opt,name=ROpts,proto3,oneof"`
}

type Op_Unexpected added in v0.8.1

type Op_Unexpected struct {
	// contains filtered or unexported fields
}

type Op_ZOpts added in v0.8.1

type Op_ZOpts struct {
	ZOpts *ZAddOptions `protobuf:"bytes,2,opt,name=ZOpts,proto3,oneof"`
}

type Ops added in v0.8.1

type Ops struct {
	Operations           []*Op    `protobuf:"bytes,1,rep,name=Operations,proto3" json:"Operations,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Ops) Descriptor added in v0.8.1

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

func (*Ops) GetOperations added in v0.8.1

func (m *Ops) GetOperations() []*Op

func (*Ops) ProtoMessage added in v0.8.1

func (*Ops) ProtoMessage()

func (*Ops) Reset added in v0.8.1

func (m *Ops) Reset()

func (*Ops) String added in v0.8.1

func (m *Ops) String() string

func (*Ops) Validate added in v0.8.1

func (m *Ops) Validate() error

func (*Ops) XXX_DiscardUnknown added in v0.8.1

func (m *Ops) XXX_DiscardUnknown()

func (*Ops) XXX_Marshal added in v0.8.1

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

func (*Ops) XXX_Merge added in v0.8.1

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

func (*Ops) XXX_Size added in v0.8.1

func (m *Ops) XXX_Size() int

func (*Ops) XXX_Unmarshal added in v0.8.1

func (m *Ops) 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)

ToSPage converts a page of items to a page of structured items

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 Permission added in v0.7.0

type Permission struct {
	Database             string   `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
	Permission           uint32   `protobuf:"varint,2,opt,name=permission,proto3" json:"permission,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Permission) Descriptor added in v0.7.0

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

func (*Permission) GetDatabase added in v0.7.0

func (m *Permission) GetDatabase() string

func (*Permission) GetPermission added in v0.7.0

func (m *Permission) GetPermission() uint32

func (*Permission) ProtoMessage added in v0.7.0

func (*Permission) ProtoMessage()

func (*Permission) Reset added in v0.7.0

func (m *Permission) Reset()

func (*Permission) String added in v0.7.0

func (m *Permission) String() string

func (*Permission) XXX_DiscardUnknown added in v0.7.0

func (m *Permission) XXX_DiscardUnknown()

func (*Permission) XXX_Marshal added in v0.7.0

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

func (*Permission) XXX_Merge added in v0.7.0

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

func (*Permission) XXX_Size added in v0.7.0

func (m *Permission) XXX_Size() int

func (*Permission) XXX_Unmarshal added in v0.7.0

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

type PermissionAction added in v0.7.0

type PermissionAction int32
const (
	PermissionAction_GRANT  PermissionAction = 0
	PermissionAction_REVOKE PermissionAction = 1
)

func (PermissionAction) EnumDescriptor added in v0.7.0

func (PermissionAction) EnumDescriptor() ([]byte, []int)

func (PermissionAction) String added in v0.7.0

func (x PermissionAction) String() string

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"`
	Index                *Index   `protobuf:"bytes,3,opt,name=index,proto3" json:"index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReferenceOptions) Descriptor

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

func (*ReferenceOptions) GetIndex added in v0.8.1

func (m *ReferenceOptions) GetIndex() *Index

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 {
	Payload              *RootIndex `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	Signature            *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func NewRoot added in v0.8.0

func NewRoot() *Root

func (*Root) CheckSignature added in v0.8.0

func (r *Root) CheckSignature() (ok bool, err error)

CheckSignature

func (*Root) Descriptor

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

func (*Root) GetIndex

func (r *Root) GetIndex() uint64

func (*Root) GetPayload added in v0.8.0

func (m *Root) GetPayload() *RootIndex

func (*Root) GetRoot

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

func (*Root) GetSignature added in v0.8.0

func (m *Root) GetSignature() *Signature

func (*Root) ProtoMessage

func (*Root) ProtoMessage()

func (*Root) Reset

func (m *Root) Reset()

func (*Root) SetIndex added in v0.8.0

func (r *Root) SetIndex(index uint64)

func (*Root) SetRoot added in v0.8.0

func (r *Root) SetRoot(root []byte)

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 RootIndex added in v0.8.0

type RootIndex 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 (*RootIndex) Descriptor added in v0.8.0

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

func (*RootIndex) GetIndex added in v0.8.0

func (m *RootIndex) GetIndex() uint64

func (*RootIndex) GetRoot added in v0.8.0

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

func (*RootIndex) ProtoMessage added in v0.8.0

func (*RootIndex) ProtoMessage()

func (*RootIndex) Reset added in v0.8.0

func (m *RootIndex) Reset()

func (*RootIndex) String added in v0.8.0

func (m *RootIndex) String() string

func (*RootIndex) XXX_DiscardUnknown added in v0.8.0

func (m *RootIndex) XXX_DiscardUnknown()

func (*RootIndex) XXX_Marshal added in v0.8.0

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

func (*RootIndex) XXX_Merge added in v0.8.0

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

func (*RootIndex) XXX_Size added in v0.8.0

func (m *RootIndex) XXX_Size() int

func (*RootIndex) XXX_Unmarshal added in v0.8.0

func (m *RootIndex) 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)

Hash computes and returns the hash of the safe item

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 Score added in v0.8.1

type Score struct {
	Score                float64  `protobuf:"fixed64,1,opt,name=score,proto3" json:"score,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Score) Descriptor added in v0.8.1

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

func (*Score) GetScore added in v0.8.1

func (m *Score) GetScore() float64

func (*Score) ProtoMessage added in v0.8.1

func (*Score) ProtoMessage()

func (*Score) Reset added in v0.8.1

func (m *Score) Reset()

func (*Score) String added in v0.8.1

func (m *Score) String() string

func (*Score) XXX_DiscardUnknown added in v0.8.1

func (m *Score) XXX_DiscardUnknown()

func (*Score) XXX_Marshal added in v0.8.1

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

func (*Score) XXX_Merge added in v0.8.1

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

func (*Score) XXX_Size added in v0.8.1

func (m *Score) XXX_Size() int

func (*Score) XXX_Unmarshal added in v0.8.1

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

type SetActiveUserRequest added in v0.7.0

type SetActiveUserRequest struct {
	Active               bool     `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"`
	Username             string   `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SetActiveUserRequest) Descriptor added in v0.7.0

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

func (*SetActiveUserRequest) GetActive added in v0.7.0

func (m *SetActiveUserRequest) GetActive() bool

func (*SetActiveUserRequest) GetUsername added in v0.7.0

func (m *SetActiveUserRequest) GetUsername() string

func (*SetActiveUserRequest) ProtoMessage added in v0.7.0

func (*SetActiveUserRequest) ProtoMessage()

func (*SetActiveUserRequest) Reset added in v0.7.0

func (m *SetActiveUserRequest) Reset()

func (*SetActiveUserRequest) String added in v0.7.0

func (m *SetActiveUserRequest) String() string

func (*SetActiveUserRequest) XXX_DiscardUnknown added in v0.7.0

func (m *SetActiveUserRequest) XXX_DiscardUnknown()

func (*SetActiveUserRequest) XXX_Marshal added in v0.7.0

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

func (*SetActiveUserRequest) XXX_Merge added in v0.7.0

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

func (*SetActiveUserRequest) XXX_Size added in v0.7.0

func (m *SetActiveUserRequest) XXX_Size() int

func (*SetActiveUserRequest) XXX_Unmarshal added in v0.7.0

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

type Signature added in v0.8.0

type Signature struct {
	Signature            []byte   `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	PublicKey            []byte   `protobuf:"bytes,2,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Signature) Descriptor added in v0.8.0

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

func (*Signature) GetPublicKey added in v0.8.0

func (m *Signature) GetPublicKey() []byte

func (*Signature) GetSignature added in v0.8.0

func (m *Signature) GetSignature() []byte

func (*Signature) ProtoMessage added in v0.8.0

func (*Signature) ProtoMessage()

func (*Signature) Reset added in v0.8.0

func (m *Signature) Reset()

func (*Signature) String added in v0.8.0

func (m *Signature) String() string

func (*Signature) XXX_DiscardUnknown added in v0.8.0

func (m *Signature) XXX_DiscardUnknown()

func (*Signature) XXX_Marshal added in v0.8.0

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

func (*Signature) XXX_Merge added in v0.8.0

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

func (*Signature) XXX_Size added in v0.8.0

func (m *Signature) XXX_Size() int

func (*Signature) XXX_Unmarshal added in v0.8.0

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

type StructuredItem

type StructuredItem struct {
	Key                  []byte   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value                *Content `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Index                uint64   `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StructuredItem) Descriptor

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

func (*StructuredItem) GetIndex

func (m *StructuredItem) GetIndex() uint64

func (*StructuredItem) GetKey

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

func (*StructuredItem) GetValue

func (m *StructuredItem) GetValue() *Content

func (*StructuredItem) Hash

func (si *StructuredItem) Hash() ([]byte, error)

Hash computes and returns the hash of the structured item

func (*StructuredItem) MarshalJSON

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

MarshalJSON marshals the structured item to JSON

func (*StructuredItem) ProtoMessage

func (*StructuredItem) ProtoMessage()

func (*StructuredItem) Reset

func (m *StructuredItem) Reset()

func (*StructuredItem) String

func (m *StructuredItem) String() string

func (*StructuredItem) ToItem

func (item *StructuredItem) ToItem() (*Item, error)

ToItem return Item from the receiver

func (*StructuredItem) XXX_DiscardUnknown

func (m *StructuredItem) XXX_DiscardUnknown()

func (*StructuredItem) XXX_Marshal

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

func (*StructuredItem) XXX_Merge

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

func (*StructuredItem) XXX_Size

func (m *StructuredItem) XXX_Size() int

func (*StructuredItem) XXX_Unmarshal

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

type StructuredItemList

type StructuredItemList struct {
	Items                []*StructuredItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*StructuredItemList) Descriptor

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

func (*StructuredItemList) GetItems

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

func (*StructuredItemList) ProtoMessage

func (*StructuredItemList) ProtoMessage()

func (*StructuredItemList) Reset

func (m *StructuredItemList) Reset()

func (*StructuredItemList) String

func (m *StructuredItemList) String() string

func (*StructuredItemList) XXX_DiscardUnknown

func (m *StructuredItemList) XXX_DiscardUnknown()

func (*StructuredItemList) XXX_Marshal

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

func (*StructuredItemList) XXX_Merge

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

func (*StructuredItemList) XXX_Size

func (m *StructuredItemList) XXX_Size() int

func (*StructuredItemList) XXX_Unmarshal

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

type StructuredKeyValue

type StructuredKeyValue struct {
	Key                  []byte   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value                *Content `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StructuredKeyValue) Descriptor

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

func (*StructuredKeyValue) GetKey

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

func (*StructuredKeyValue) GetValue

func (m *StructuredKeyValue) GetValue() *Content

func (*StructuredKeyValue) ProtoMessage

func (*StructuredKeyValue) ProtoMessage()

func (*StructuredKeyValue) Reset

func (m *StructuredKeyValue) Reset()

func (*StructuredKeyValue) String

func (m *StructuredKeyValue) String() string

func (*StructuredKeyValue) ToKV

func (skv *StructuredKeyValue) ToKV() (*KeyValue, error)

ToKV return a KeyValue from the receiver

func (*StructuredKeyValue) XXX_DiscardUnknown

func (m *StructuredKeyValue) XXX_DiscardUnknown()

func (*StructuredKeyValue) XXX_Marshal

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

func (*StructuredKeyValue) XXX_Merge

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

func (*StructuredKeyValue) XXX_Size

func (m *StructuredKeyValue) XXX_Size() int

func (*StructuredKeyValue) XXX_Unmarshal

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

type Tree added in v0.6.1

type Tree struct {
	T                    []*Layer `protobuf:"bytes,1,rep,name=t,proto3" json:"t,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Tree) Descriptor added in v0.6.1

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

func (*Tree) GetT added in v0.6.1

func (m *Tree) GetT() []*Layer

func (*Tree) ProtoMessage added in v0.6.1

func (*Tree) ProtoMessage()

func (*Tree) Reset added in v0.6.1

func (m *Tree) Reset()

func (*Tree) String added in v0.6.1

func (m *Tree) String() string

func (*Tree) XXX_DiscardUnknown added in v0.6.1

func (m *Tree) XXX_DiscardUnknown()

func (*Tree) XXX_Marshal added in v0.6.1

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

func (*Tree) XXX_Merge added in v0.6.1

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

func (*Tree) XXX_Size added in v0.6.1

func (m *Tree) XXX_Size() int

func (*Tree) XXX_Unmarshal added in v0.6.1

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

type UnimplementedImmuServiceServer

type UnimplementedImmuServiceServer struct {
}

UnimplementedImmuServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedImmuServiceServer) ByIndex

func (*UnimplementedImmuServiceServer) BySafeIndex

func (*UnimplementedImmuServiceServer) ChangePassword

func (*UnimplementedImmuServiceServer) ChangePermission added in v0.7.0

func (*UnimplementedImmuServiceServer) Consistency

func (*UnimplementedImmuServiceServer) Count

func (*UnimplementedImmuServiceServer) CountAll added in v0.8.1

func (*UnimplementedImmuServiceServer) CreateDatabase added in v0.7.0

func (*UnimplementedImmuServiceServer) CreateDatabase(ctx context.Context, req *Database) (*empty.Empty, error)

func (*UnimplementedImmuServiceServer) CreateUser

func (*UnimplementedImmuServiceServer) CurrentRoot

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

func (*UnimplementedImmuServiceServer) DatabaseList added in v0.7.0

func (*UnimplementedImmuServiceServer) Dump

func (*UnimplementedImmuServiceServer) ExecAllOps added in v0.8.1

func (*UnimplementedImmuServiceServer) ExecAllOps(ctx context.Context, req *Ops) (*Index, error)

func (*UnimplementedImmuServiceServer) Get

func (*UnimplementedImmuServiceServer) GetBatch

func (*UnimplementedImmuServiceServer) GetReference added in v0.8.1

func (*UnimplementedImmuServiceServer) GetReference(ctx context.Context, req *Key) (*Item, error)

func (*UnimplementedImmuServiceServer) Health

func (*UnimplementedImmuServiceServer) History

func (*UnimplementedImmuServiceServer) IScan

func (*UnimplementedImmuServiceServer) Inclusion

func (*UnimplementedImmuServiceServer) ListUsers

func (*UnimplementedImmuServiceServer) Login

func (*UnimplementedImmuServiceServer) Logout added in v0.6.1

func (*UnimplementedImmuServiceServer) PrintTree added in v0.6.1

func (*UnimplementedImmuServiceServer) Reference

func (*UnimplementedImmuServiceServer) SafeGet

func (*UnimplementedImmuServiceServer) SafeReference

func (*UnimplementedImmuServiceServer) SafeSet

func (*UnimplementedImmuServiceServer) SafeZAdd

func (*UnimplementedImmuServiceServer) Scan

func (*UnimplementedImmuServiceServer) Set

func (*UnimplementedImmuServiceServer) SetActiveUser added in v0.7.0

func (*UnimplementedImmuServiceServer) SetBatch

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) UseDatabase added in v0.7.0

func (*UnimplementedImmuServiceServer) ZAdd

func (*UnimplementedImmuServiceServer) ZScan

type UseDatabaseReply added in v0.7.0

type UseDatabaseReply struct {
	Token                string   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UseDatabaseReply) Descriptor added in v0.7.0

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

func (*UseDatabaseReply) GetToken added in v0.7.0

func (m *UseDatabaseReply) GetToken() string

func (*UseDatabaseReply) ProtoMessage added in v0.7.0

func (*UseDatabaseReply) ProtoMessage()

func (*UseDatabaseReply) Reset added in v0.7.0

func (m *UseDatabaseReply) Reset()

func (*UseDatabaseReply) String added in v0.7.0

func (m *UseDatabaseReply) String() string

func (*UseDatabaseReply) XXX_DiscardUnknown added in v0.7.0

func (m *UseDatabaseReply) XXX_DiscardUnknown()

func (*UseDatabaseReply) XXX_Marshal added in v0.7.0

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

func (*UseDatabaseReply) XXX_Merge added in v0.7.0

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

func (*UseDatabaseReply) XXX_Size added in v0.7.0

func (m *UseDatabaseReply) XXX_Size() int

func (*UseDatabaseReply) XXX_Unmarshal added in v0.7.0

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

type User

type User struct {
	User                 []byte        `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Permissions          []*Permission `protobuf:"bytes,3,rep,name=permissions,proto3" json:"permissions,omitempty"`
	Createdby            string        `protobuf:"bytes,4,opt,name=createdby,proto3" json:"createdby,omitempty"`
	Createdat            string        `protobuf:"bytes,5,opt,name=createdat,proto3" json:"createdat,omitempty"`
	Active               bool          `protobuf:"varint,6,opt,name=active,proto3" json:"active,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*User) Descriptor

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

func (*User) GetActive added in v0.7.0

func (m *User) GetActive() bool

func (*User) GetCreatedat added in v0.7.0

func (m *User) GetCreatedat() string

func (*User) GetCreatedby added in v0.7.0

func (m *User) GetCreatedby() string

func (*User) GetPermissions

func (m *User) GetPermissions() []*Permission

func (*User) GetUser

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

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) Reset

func (m *User) Reset()

func (*User) String

func (m *User) String() string

func (*User) XXX_DiscardUnknown

func (m *User) XXX_DiscardUnknown()

func (*User) XXX_Marshal

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

func (*User) XXX_Merge

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

func (*User) XXX_Size

func (m *User) XXX_Size() int

func (*User) XXX_Unmarshal

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

type UserList

type UserList struct {
	Users                []*User  `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserList) Descriptor

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

func (*UserList) GetUsers

func (m *UserList) GetUsers() []*User

func (*UserList) ProtoMessage

func (*UserList) ProtoMessage()

func (*UserList) Reset

func (m *UserList) Reset()

func (*UserList) String

func (m *UserList) String() string

func (*UserList) XXX_DiscardUnknown

func (m *UserList) XXX_DiscardUnknown()

func (*UserList) XXX_Marshal

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

func (*UserList) XXX_Merge

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

func (*UserList) XXX_Size

func (m *UserList) XXX_Size() int

func (*UserList) XXX_Unmarshal

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

type UserRequest

type UserRequest struct {
	User                 []byte   `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserRequest) Descriptor

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

func (*UserRequest) GetUser

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

func (*UserRequest) ProtoMessage

func (*UserRequest) ProtoMessage()

func (*UserRequest) Reset

func (m *UserRequest) Reset()

func (*UserRequest) String

func (m *UserRequest) String() string

func (*UserRequest) XXX_DiscardUnknown

func (m *UserRequest) XXX_DiscardUnknown()

func (*UserRequest) XXX_Marshal

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

func (*UserRequest) XXX_Merge

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

func (*UserRequest) XXX_Size

func (m *UserRequest) XXX_Size() int

func (*UserRequest) XXX_Unmarshal

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

type ZAddOptions

type ZAddOptions struct {
	Set                  []byte   `protobuf:"bytes,1,opt,name=set,proto3" json:"set,omitempty"`
	Score                *Score   `protobuf:"bytes,2,opt,name=score,proto3" json:"score,omitempty"`
	Key                  []byte   `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	Index                *Index   `protobuf:"bytes,4,opt,name=index,proto3" json:"index,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) GetIndex added in v0.8.1

func (m *ZAddOptions) GetIndex() *Index

func (*ZAddOptions) GetKey

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

func (*ZAddOptions) GetScore

func (m *ZAddOptions) GetScore() *Score

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 ZItem added in v0.8.1

type ZItem struct {
	Item                 *Item    `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	Score                float64  `protobuf:"fixed64,2,opt,name=score,proto3" json:"score,omitempty"`
	CurrentOffset        []byte   `protobuf:"bytes,3,opt,name=currentOffset,proto3" json:"currentOffset,omitempty"`
	Index                uint64   `protobuf:"varint,4,opt,name=index,proto3" json:"index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ZItem) Descriptor added in v0.8.1

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

func (*ZItem) GetCurrentOffset added in v0.8.1

func (m *ZItem) GetCurrentOffset() []byte

func (*ZItem) GetIndex added in v0.8.1

func (m *ZItem) GetIndex() uint64

func (*ZItem) GetItem added in v0.8.1

func (m *ZItem) GetItem() *Item

func (*ZItem) GetScore added in v0.8.1

func (m *ZItem) GetScore() float64

func (*ZItem) ProtoMessage added in v0.8.1

func (*ZItem) ProtoMessage()

func (*ZItem) Reset added in v0.8.1

func (m *ZItem) Reset()

func (*ZItem) String added in v0.8.1

func (m *ZItem) String() string

func (*ZItem) XXX_DiscardUnknown added in v0.8.1

func (m *ZItem) XXX_DiscardUnknown()

func (*ZItem) XXX_Marshal added in v0.8.1

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

func (*ZItem) XXX_Merge added in v0.8.1

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

func (*ZItem) XXX_Size added in v0.8.1

func (m *ZItem) XXX_Size() int

func (*ZItem) XXX_Unmarshal added in v0.8.1

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

type ZItemList added in v0.8.1

type ZItemList struct {
	Items                []*ZItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ZItemList) Descriptor added in v0.8.1

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

func (*ZItemList) GetItems added in v0.8.1

func (m *ZItemList) GetItems() []*ZItem

func (*ZItemList) ProtoMessage added in v0.8.1

func (*ZItemList) ProtoMessage()

func (*ZItemList) Reset added in v0.8.1

func (m *ZItemList) Reset()

func (*ZItemList) String added in v0.8.1

func (m *ZItemList) String() string

func (*ZItemList) ToZSItemList added in v0.8.1

func (list *ZItemList) ToZSItemList() (*ZStructuredItemList, error)

ToZSItemList return a ZStructuredItemList from the receiver

func (*ZItemList) XXX_DiscardUnknown added in v0.8.1

func (m *ZItemList) XXX_DiscardUnknown()

func (*ZItemList) XXX_Marshal added in v0.8.1

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

func (*ZItemList) XXX_Merge added in v0.8.1

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

func (*ZItemList) XXX_Size added in v0.8.1

func (m *ZItemList) XXX_Size() int

func (*ZItemList) XXX_Unmarshal added in v0.8.1

func (m *ZItemList) 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"`
	Min                  *Score   `protobuf:"bytes,5,opt,name=min,proto3" json:"min,omitempty"`
	Max                  *Score   `protobuf:"bytes,6,opt,name=max,proto3" json:"max,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) GetMax added in v0.8.1

func (m *ZScanOptions) GetMax() *Score

func (*ZScanOptions) GetMin added in v0.8.1

func (m *ZScanOptions) GetMin() *Score

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

type ZStructuredItem added in v0.8.1

type ZStructuredItem struct {
	Item                 *StructuredItem `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	Score                float64         `protobuf:"fixed64,2,opt,name=score,proto3" json:"score,omitempty"`
	CurrentOffset        []byte          `protobuf:"bytes,3,opt,name=currentOffset,proto3" json:"currentOffset,omitempty"`
	Index                uint64          `protobuf:"varint,4,opt,name=index,proto3" json:"index,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*ZStructuredItem) Descriptor added in v0.8.1

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

func (*ZStructuredItem) GetCurrentOffset added in v0.8.1

func (m *ZStructuredItem) GetCurrentOffset() []byte

func (*ZStructuredItem) GetIndex added in v0.8.1

func (m *ZStructuredItem) GetIndex() uint64

func (*ZStructuredItem) GetItem added in v0.8.1

func (m *ZStructuredItem) GetItem() *StructuredItem

func (*ZStructuredItem) GetScore added in v0.8.1

func (m *ZStructuredItem) GetScore() float64

func (*ZStructuredItem) ProtoMessage added in v0.8.1

func (*ZStructuredItem) ProtoMessage()

func (*ZStructuredItem) Reset added in v0.8.1

func (m *ZStructuredItem) Reset()

func (*ZStructuredItem) String added in v0.8.1

func (m *ZStructuredItem) String() string

func (*ZStructuredItem) XXX_DiscardUnknown added in v0.8.1

func (m *ZStructuredItem) XXX_DiscardUnknown()

func (*ZStructuredItem) XXX_Marshal added in v0.8.1

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

func (*ZStructuredItem) XXX_Merge added in v0.8.1

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

func (*ZStructuredItem) XXX_Size added in v0.8.1

func (m *ZStructuredItem) XXX_Size() int

func (*ZStructuredItem) XXX_Unmarshal added in v0.8.1

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

type ZStructuredItemList added in v0.8.1

type ZStructuredItemList struct {
	Items                []*ZStructuredItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*ZStructuredItemList) Descriptor added in v0.8.1

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

func (*ZStructuredItemList) GetItems added in v0.8.1

func (m *ZStructuredItemList) GetItems() []*ZStructuredItem

func (*ZStructuredItemList) ProtoMessage added in v0.8.1

func (*ZStructuredItemList) ProtoMessage()

func (*ZStructuredItemList) Reset added in v0.8.1

func (m *ZStructuredItemList) Reset()

func (*ZStructuredItemList) String added in v0.8.1

func (m *ZStructuredItemList) String() string

func (*ZStructuredItemList) XXX_DiscardUnknown added in v0.8.1

func (m *ZStructuredItemList) XXX_DiscardUnknown()

func (*ZStructuredItemList) XXX_Marshal added in v0.8.1

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

func (*ZStructuredItemList) XXX_Merge added in v0.8.1

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

func (*ZStructuredItemList) XXX_Size added in v0.8.1

func (m *ZStructuredItemList) XXX_Size() int

func (*ZStructuredItemList) XXX_Unmarshal added in v0.8.1

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

Jump to

Keyboard shortcuts

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