Documentation
¶
Index ¶
- Variables
- type DeleteOptions
- func (*DeleteOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteOptions) GetDatabase() string
- func (x *DeleteOptions) GetTable() string
- func (*DeleteOptions) ProtoMessage()
- func (x *DeleteOptions) ProtoReflect() protoreflect.Message
- func (x *DeleteOptions) Reset()
- func (x *DeleteOptions) String() string
- type Field
- type ListOptions
- func (*ListOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ListOptions) GetDatabase() string
- func (x *ListOptions) GetLimit() uint64
- func (x *ListOptions) GetOffset() uint64
- func (x *ListOptions) GetPrefix() string
- func (x *ListOptions) GetSuffix() string
- func (x *ListOptions) GetTable() string
- func (*ListOptions) ProtoMessage()
- func (x *ListOptions) ProtoReflect() protoreflect.Message
- func (x *ListOptions) Reset()
- func (x *ListOptions) String() string
- type ReadOptions
- func (*ReadOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ReadOptions) GetDatabase() string
- func (x *ReadOptions) GetLimit() uint64
- func (x *ReadOptions) GetOffset() uint64
- func (x *ReadOptions) GetPrefix() bool
- func (x *ReadOptions) GetSuffix() bool
- func (x *ReadOptions) GetTable() string
- func (x *ReadOptions) GetWhere() map[string]*Field
- func (*ReadOptions) ProtoMessage()
- func (x *ReadOptions) ProtoReflect() protoreflect.Message
- func (x *ReadOptions) Reset()
- func (x *ReadOptions) String() string
- type Record
- func (*Record) Descriptor() ([]byte, []int)deprecated
- func (x *Record) GetExpiry() int64
- func (x *Record) GetKey() string
- func (x *Record) GetMetadata() map[string]*Field
- func (x *Record) GetValue() []byte
- func (*Record) ProtoMessage()
- func (x *Record) ProtoReflect() protoreflect.Message
- func (x *Record) Reset()
- func (x *Record) String() string
- type WriteOptions
- func (*WriteOptions) Descriptor() ([]byte, []int)deprecated
- func (x *WriteOptions) GetDatabase() string
- func (x *WriteOptions) GetExpiry() int64
- func (x *WriteOptions) GetTable() string
- func (x *WriteOptions) GetTtl() int64
- func (*WriteOptions) ProtoMessage()
- func (x *WriteOptions) ProtoReflect() protoreflect.Message
- func (x *WriteOptions) Reset()
- func (x *WriteOptions) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_ocis_messages_store_v0_store_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DeleteOptions ¶
type DeleteOptions struct { Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` Table string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"` // contains filtered or unexported fields }
func (*DeleteOptions) Descriptor
deprecated
func (*DeleteOptions) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOptions.ProtoReflect.Descriptor instead.
func (*DeleteOptions) GetDatabase ¶
func (x *DeleteOptions) GetDatabase() string
func (*DeleteOptions) GetTable ¶
func (x *DeleteOptions) GetTable() string
func (*DeleteOptions) ProtoMessage ¶
func (*DeleteOptions) ProtoMessage()
func (*DeleteOptions) ProtoReflect ¶
func (x *DeleteOptions) ProtoReflect() protoreflect.Message
func (*DeleteOptions) Reset ¶
func (x *DeleteOptions) Reset()
func (*DeleteOptions) String ¶
func (x *DeleteOptions) String() string
type Field ¶
type Field struct { // type of value e.g string, int, int64, bool, float64 Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // the actual value Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Field) Descriptor
deprecated
func (*Field) ProtoMessage ¶
func (*Field) ProtoMessage()
func (*Field) ProtoReflect ¶
func (x *Field) ProtoReflect() protoreflect.Message
type ListOptions ¶
type ListOptions struct { Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` Table string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"` Prefix string `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"` Suffix string `protobuf:"bytes,4,opt,name=suffix,proto3" json:"suffix,omitempty"` Limit uint64 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"` Offset uint64 `protobuf:"varint,6,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
func (*ListOptions) Descriptor
deprecated
func (*ListOptions) Descriptor() ([]byte, []int)
Deprecated: Use ListOptions.ProtoReflect.Descriptor instead.
func (*ListOptions) GetDatabase ¶
func (x *ListOptions) GetDatabase() string
func (*ListOptions) GetLimit ¶
func (x *ListOptions) GetLimit() uint64
func (*ListOptions) GetOffset ¶
func (x *ListOptions) GetOffset() uint64
func (*ListOptions) GetPrefix ¶
func (x *ListOptions) GetPrefix() string
func (*ListOptions) GetSuffix ¶
func (x *ListOptions) GetSuffix() string
func (*ListOptions) GetTable ¶
func (x *ListOptions) GetTable() string
func (*ListOptions) ProtoMessage ¶
func (*ListOptions) ProtoMessage()
func (*ListOptions) ProtoReflect ¶
func (x *ListOptions) ProtoReflect() protoreflect.Message
func (*ListOptions) Reset ¶
func (x *ListOptions) Reset()
func (*ListOptions) String ¶
func (x *ListOptions) String() string
type ReadOptions ¶
type ReadOptions struct { Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` Table string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"` Prefix bool `protobuf:"varint,3,opt,name=prefix,proto3" json:"prefix,omitempty"` Suffix bool `protobuf:"varint,4,opt,name=suffix,proto3" json:"suffix,omitempty"` Limit uint64 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"` Offset uint64 `protobuf:"varint,6,opt,name=offset,proto3" json:"offset,omitempty"` Where map[string]*Field `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ReadOptions) Descriptor
deprecated
func (*ReadOptions) Descriptor() ([]byte, []int)
Deprecated: Use ReadOptions.ProtoReflect.Descriptor instead.
func (*ReadOptions) GetDatabase ¶
func (x *ReadOptions) GetDatabase() string
func (*ReadOptions) GetLimit ¶
func (x *ReadOptions) GetLimit() uint64
func (*ReadOptions) GetOffset ¶
func (x *ReadOptions) GetOffset() uint64
func (*ReadOptions) GetPrefix ¶
func (x *ReadOptions) GetPrefix() bool
func (*ReadOptions) GetSuffix ¶
func (x *ReadOptions) GetSuffix() bool
func (*ReadOptions) GetTable ¶
func (x *ReadOptions) GetTable() string
func (*ReadOptions) GetWhere ¶
func (x *ReadOptions) GetWhere() map[string]*Field
func (*ReadOptions) ProtoMessage ¶
func (*ReadOptions) ProtoMessage()
func (*ReadOptions) ProtoReflect ¶
func (x *ReadOptions) ProtoReflect() protoreflect.Message
func (*ReadOptions) Reset ¶
func (x *ReadOptions) Reset()
func (*ReadOptions) String ¶
func (x *ReadOptions) String() string
type Record ¶
type Record struct { // key of the recorda Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // value in the record Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // time.Duration (signed int64 nanoseconds) Expiry int64 `protobuf:"varint,3,opt,name=expiry,proto3" json:"expiry,omitempty"` // the associated metadata Metadata map[string]*Field `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Record) Descriptor
deprecated
func (*Record) GetMetadata ¶
func (*Record) ProtoMessage ¶
func (*Record) ProtoMessage()
func (*Record) ProtoReflect ¶
func (x *Record) ProtoReflect() protoreflect.Message
type WriteOptions ¶
type WriteOptions struct { Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` Table string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"` // time.Time Expiry int64 `protobuf:"varint,3,opt,name=expiry,proto3" json:"expiry,omitempty"` // time.Duration Ttl int64 `protobuf:"varint,4,opt,name=ttl,proto3" json:"ttl,omitempty"` // contains filtered or unexported fields }
func (*WriteOptions) Descriptor
deprecated
func (*WriteOptions) Descriptor() ([]byte, []int)
Deprecated: Use WriteOptions.ProtoReflect.Descriptor instead.
func (*WriteOptions) GetDatabase ¶
func (x *WriteOptions) GetDatabase() string
func (*WriteOptions) GetExpiry ¶
func (x *WriteOptions) GetExpiry() int64
func (*WriteOptions) GetTable ¶
func (x *WriteOptions) GetTable() string
func (*WriteOptions) GetTtl ¶
func (x *WriteOptions) GetTtl() int64
func (*WriteOptions) ProtoMessage ¶
func (*WriteOptions) ProtoMessage()
func (*WriteOptions) ProtoReflect ¶
func (x *WriteOptions) ProtoReflect() protoreflect.Message
func (*WriteOptions) Reset ¶
func (x *WriteOptions) Reset()
func (*WriteOptions) String ¶
func (x *WriteOptions) String() string
Click to show internal directories.
Click to hide internal directories.