Documentation ¶
Index ¶
- Variables
- func NewStoreEndpoints() []*api.Endpoint
- func RegisterStoreHandler(s server.Server, hdlr StoreHandler, opts ...server.HandlerOption) error
- func RegisterStoreServer(s *grpc.Server, srv StoreServer)
- type DatabasesRequest
- func (*DatabasesRequest) Descriptor() ([]byte, []int)
- func (m *DatabasesRequest) Marshal() (dAtA []byte, err error)
- func (m *DatabasesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *DatabasesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DatabasesRequest) ProtoMessage()
- func (m *DatabasesRequest) Reset()
- func (m *DatabasesRequest) Size() (n int)
- func (m *DatabasesRequest) String() string
- func (m *DatabasesRequest) Unmarshal(dAtA []byte) error
- func (m *DatabasesRequest) XXX_DiscardUnknown()
- func (m *DatabasesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DatabasesRequest) XXX_Merge(src proto.Message)
- func (m *DatabasesRequest) XXX_Size() int
- func (m *DatabasesRequest) XXX_Unmarshal(b []byte) error
- type DatabasesResponse
- func (*DatabasesResponse) Descriptor() ([]byte, []int)
- func (m *DatabasesResponse) GetDatabases() []string
- func (m *DatabasesResponse) Marshal() (dAtA []byte, err error)
- func (m *DatabasesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *DatabasesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DatabasesResponse) ProtoMessage()
- func (m *DatabasesResponse) Reset()
- func (m *DatabasesResponse) Size() (n int)
- func (m *DatabasesResponse) String() string
- func (m *DatabasesResponse) Unmarshal(dAtA []byte) error
- func (m *DatabasesResponse) XXX_DiscardUnknown()
- func (m *DatabasesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DatabasesResponse) XXX_Merge(src proto.Message)
- func (m *DatabasesResponse) XXX_Size() int
- func (m *DatabasesResponse) XXX_Unmarshal(b []byte) error
- type DeleteOptions
- func (*DeleteOptions) Descriptor() ([]byte, []int)
- func (m *DeleteOptions) GetDatabase() string
- func (m *DeleteOptions) GetTable() string
- func (m *DeleteOptions) Marshal() (dAtA []byte, err error)
- func (m *DeleteOptions) MarshalTo(dAtA []byte) (int, error)
- func (m *DeleteOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeleteOptions) ProtoMessage()
- func (m *DeleteOptions) Reset()
- func (m *DeleteOptions) Size() (n int)
- func (m *DeleteOptions) String() string
- func (m *DeleteOptions) Unmarshal(dAtA []byte) error
- func (m *DeleteOptions) XXX_DiscardUnknown()
- func (m *DeleteOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteOptions) XXX_Merge(src proto.Message)
- func (m *DeleteOptions) XXX_Size() int
- func (m *DeleteOptions) XXX_Unmarshal(b []byte) error
- type DeleteRequest
- func (*DeleteRequest) Descriptor() ([]byte, []int)
- func (m *DeleteRequest) GetKey() string
- func (m *DeleteRequest) GetOptions() *DeleteOptions
- func (m *DeleteRequest) Marshal() (dAtA []byte, err error)
- func (m *DeleteRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *DeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeleteRequest) ProtoMessage()
- func (m *DeleteRequest) Reset()
- func (m *DeleteRequest) Size() (n int)
- func (m *DeleteRequest) String() string
- func (m *DeleteRequest) Unmarshal(dAtA []byte) error
- func (m *DeleteRequest) XXX_DiscardUnknown()
- func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteRequest) XXX_Merge(src proto.Message)
- func (m *DeleteRequest) XXX_Size() int
- func (m *DeleteRequest) XXX_Unmarshal(b []byte) error
- type DeleteResponse
- func (*DeleteResponse) Descriptor() ([]byte, []int)
- func (m *DeleteResponse) Marshal() (dAtA []byte, err error)
- func (m *DeleteResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *DeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeleteResponse) ProtoMessage()
- func (m *DeleteResponse) Reset()
- func (m *DeleteResponse) Size() (n int)
- func (m *DeleteResponse) String() string
- func (m *DeleteResponse) Unmarshal(dAtA []byte) error
- func (m *DeleteResponse) XXX_DiscardUnknown()
- func (m *DeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteResponse) XXX_Merge(src proto.Message)
- func (m *DeleteResponse) XXX_Size() int
- func (m *DeleteResponse) XXX_Unmarshal(b []byte) error
- type Field
- func (*Field) Descriptor() ([]byte, []int)
- func (m *Field) GetType() string
- func (m *Field) GetValue() string
- func (m *Field) Marshal() (dAtA []byte, err error)
- func (m *Field) MarshalTo(dAtA []byte) (int, error)
- func (m *Field) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Field) ProtoMessage()
- func (m *Field) Reset()
- func (m *Field) Size() (n int)
- func (m *Field) String() string
- func (m *Field) Unmarshal(dAtA []byte) error
- func (m *Field) XXX_DiscardUnknown()
- func (m *Field) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Field) XXX_Merge(src proto.Message)
- func (m *Field) XXX_Size() int
- func (m *Field) XXX_Unmarshal(b []byte) error
- type ListOptions
- func (*ListOptions) Descriptor() ([]byte, []int)
- func (m *ListOptions) GetDatabase() string
- func (m *ListOptions) GetLimit() uint64
- func (m *ListOptions) GetOffset() uint64
- func (m *ListOptions) GetPrefix() string
- func (m *ListOptions) GetSuffix() string
- func (m *ListOptions) GetTable() string
- func (m *ListOptions) Marshal() (dAtA []byte, err error)
- func (m *ListOptions) MarshalTo(dAtA []byte) (int, error)
- func (m *ListOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListOptions) ProtoMessage()
- func (m *ListOptions) Reset()
- func (m *ListOptions) Size() (n int)
- func (m *ListOptions) String() string
- func (m *ListOptions) Unmarshal(dAtA []byte) error
- func (m *ListOptions) XXX_DiscardUnknown()
- func (m *ListOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListOptions) XXX_Merge(src proto.Message)
- func (m *ListOptions) XXX_Size() int
- func (m *ListOptions) XXX_Unmarshal(b []byte) error
- type ListRequest
- func (*ListRequest) Descriptor() ([]byte, []int)
- func (m *ListRequest) GetOptions() *ListOptions
- func (m *ListRequest) Marshal() (dAtA []byte, err error)
- func (m *ListRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListRequest) ProtoMessage()
- func (m *ListRequest) Reset()
- func (m *ListRequest) Size() (n int)
- func (m *ListRequest) String() string
- func (m *ListRequest) Unmarshal(dAtA []byte) error
- func (m *ListRequest) XXX_DiscardUnknown()
- func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListRequest) XXX_Merge(src proto.Message)
- func (m *ListRequest) XXX_Size() int
- func (m *ListRequest) XXX_Unmarshal(b []byte) error
- type ListResponse
- func (*ListResponse) Descriptor() ([]byte, []int)
- func (m *ListResponse) GetKeys() []string
- func (m *ListResponse) Marshal() (dAtA []byte, err error)
- func (m *ListResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListResponse) ProtoMessage()
- func (m *ListResponse) Reset()
- func (m *ListResponse) Size() (n int)
- func (m *ListResponse) String() string
- func (m *ListResponse) Unmarshal(dAtA []byte) error
- func (m *ListResponse) XXX_DiscardUnknown()
- func (m *ListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListResponse) XXX_Merge(src proto.Message)
- func (m *ListResponse) XXX_Size() int
- func (m *ListResponse) XXX_Unmarshal(b []byte) error
- type ReadOptions
- func (*ReadOptions) Descriptor() ([]byte, []int)
- func (m *ReadOptions) GetDatabase() string
- func (m *ReadOptions) GetLimit() uint64
- func (m *ReadOptions) GetOffset() uint64
- func (m *ReadOptions) GetPrefix() bool
- func (m *ReadOptions) GetSuffix() bool
- func (m *ReadOptions) GetTable() string
- func (m *ReadOptions) Marshal() (dAtA []byte, err error)
- func (m *ReadOptions) MarshalTo(dAtA []byte) (int, error)
- func (m *ReadOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ReadOptions) ProtoMessage()
- func (m *ReadOptions) Reset()
- func (m *ReadOptions) Size() (n int)
- func (m *ReadOptions) String() string
- func (m *ReadOptions) Unmarshal(dAtA []byte) error
- func (m *ReadOptions) XXX_DiscardUnknown()
- func (m *ReadOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadOptions) XXX_Merge(src proto.Message)
- func (m *ReadOptions) XXX_Size() int
- func (m *ReadOptions) XXX_Unmarshal(b []byte) error
- type ReadRequest
- func (*ReadRequest) Descriptor() ([]byte, []int)
- func (m *ReadRequest) GetKey() string
- func (m *ReadRequest) GetOptions() *ReadOptions
- func (m *ReadRequest) Marshal() (dAtA []byte, err error)
- func (m *ReadRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ReadRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ReadRequest) ProtoMessage()
- func (m *ReadRequest) Reset()
- func (m *ReadRequest) Size() (n int)
- func (m *ReadRequest) String() string
- func (m *ReadRequest) Unmarshal(dAtA []byte) error
- func (m *ReadRequest) XXX_DiscardUnknown()
- func (m *ReadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadRequest) XXX_Merge(src proto.Message)
- func (m *ReadRequest) XXX_Size() int
- func (m *ReadRequest) XXX_Unmarshal(b []byte) error
- type ReadResponse
- func (*ReadResponse) Descriptor() ([]byte, []int)
- func (m *ReadResponse) GetRecords() []*Record
- func (m *ReadResponse) Marshal() (dAtA []byte, err error)
- func (m *ReadResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ReadResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ReadResponse) ProtoMessage()
- func (m *ReadResponse) Reset()
- func (m *ReadResponse) Size() (n int)
- func (m *ReadResponse) String() string
- func (m *ReadResponse) Unmarshal(dAtA []byte) error
- func (m *ReadResponse) XXX_DiscardUnknown()
- func (m *ReadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadResponse) XXX_Merge(src proto.Message)
- func (m *ReadResponse) XXX_Size() int
- func (m *ReadResponse) XXX_Unmarshal(b []byte) error
- type Record
- func (*Record) Descriptor() ([]byte, []int)
- func (m *Record) GetExpiry() int64
- func (m *Record) GetKey() string
- func (m *Record) GetMetadata() map[string]*Field
- func (m *Record) GetValue() []byte
- func (m *Record) Marshal() (dAtA []byte, err error)
- func (m *Record) MarshalTo(dAtA []byte) (int, error)
- func (m *Record) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Record) ProtoMessage()
- func (m *Record) Reset()
- func (m *Record) Size() (n int)
- func (m *Record) String() string
- func (m *Record) Unmarshal(dAtA []byte) error
- func (m *Record) XXX_DiscardUnknown()
- func (m *Record) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Record) XXX_Merge(src proto.Message)
- func (m *Record) XXX_Size() int
- func (m *Record) XXX_Unmarshal(b []byte) error
- type StoreClient
- type StoreHandler
- type StoreServer
- type StoreService
- type Store_ListClient
- type Store_ListServer
- type Store_ListService
- type Store_ListStream
- type TablesRequest
- func (*TablesRequest) Descriptor() ([]byte, []int)
- func (m *TablesRequest) GetDatabase() string
- func (m *TablesRequest) Marshal() (dAtA []byte, err error)
- func (m *TablesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *TablesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TablesRequest) ProtoMessage()
- func (m *TablesRequest) Reset()
- func (m *TablesRequest) Size() (n int)
- func (m *TablesRequest) String() string
- func (m *TablesRequest) Unmarshal(dAtA []byte) error
- func (m *TablesRequest) XXX_DiscardUnknown()
- func (m *TablesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TablesRequest) XXX_Merge(src proto.Message)
- func (m *TablesRequest) XXX_Size() int
- func (m *TablesRequest) XXX_Unmarshal(b []byte) error
- type TablesResponse
- func (*TablesResponse) Descriptor() ([]byte, []int)
- func (m *TablesResponse) GetTables() []string
- func (m *TablesResponse) Marshal() (dAtA []byte, err error)
- func (m *TablesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *TablesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TablesResponse) ProtoMessage()
- func (m *TablesResponse) Reset()
- func (m *TablesResponse) Size() (n int)
- func (m *TablesResponse) String() string
- func (m *TablesResponse) Unmarshal(dAtA []byte) error
- func (m *TablesResponse) XXX_DiscardUnknown()
- func (m *TablesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TablesResponse) XXX_Merge(src proto.Message)
- func (m *TablesResponse) XXX_Size() int
- func (m *TablesResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedStoreServer
- func (*UnimplementedStoreServer) Databases(ctx context.Context, req *DatabasesRequest) (*DatabasesResponse, error)
- func (*UnimplementedStoreServer) Delete(ctx context.Context, req *DeleteRequest) (*DeleteResponse, error)
- func (*UnimplementedStoreServer) List(req *ListRequest, srv Store_ListServer) error
- func (*UnimplementedStoreServer) Read(ctx context.Context, req *ReadRequest) (*ReadResponse, error)
- func (*UnimplementedStoreServer) Tables(ctx context.Context, req *TablesRequest) (*TablesResponse, error)
- func (*UnimplementedStoreServer) Write(ctx context.Context, req *WriteRequest) (*WriteResponse, error)
- type WriteOptions
- func (*WriteOptions) Descriptor() ([]byte, []int)
- func (m *WriteOptions) GetDatabase() string
- func (m *WriteOptions) GetExpiry() int64
- func (m *WriteOptions) GetTable() string
- func (m *WriteOptions) GetTtl() int64
- func (m *WriteOptions) Marshal() (dAtA []byte, err error)
- func (m *WriteOptions) MarshalTo(dAtA []byte) (int, error)
- func (m *WriteOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WriteOptions) ProtoMessage()
- func (m *WriteOptions) Reset()
- func (m *WriteOptions) Size() (n int)
- func (m *WriteOptions) String() string
- func (m *WriteOptions) Unmarshal(dAtA []byte) error
- func (m *WriteOptions) XXX_DiscardUnknown()
- func (m *WriteOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WriteOptions) XXX_Merge(src proto.Message)
- func (m *WriteOptions) XXX_Size() int
- func (m *WriteOptions) XXX_Unmarshal(b []byte) error
- type WriteRequest
- func (*WriteRequest) Descriptor() ([]byte, []int)
- func (m *WriteRequest) GetOptions() *WriteOptions
- func (m *WriteRequest) GetRecord() *Record
- func (m *WriteRequest) Marshal() (dAtA []byte, err error)
- func (m *WriteRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *WriteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WriteRequest) ProtoMessage()
- func (m *WriteRequest) Reset()
- func (m *WriteRequest) Size() (n int)
- func (m *WriteRequest) String() string
- func (m *WriteRequest) Unmarshal(dAtA []byte) error
- func (m *WriteRequest) XXX_DiscardUnknown()
- func (m *WriteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WriteRequest) XXX_Merge(src proto.Message)
- func (m *WriteRequest) XXX_Size() int
- func (m *WriteRequest) XXX_Unmarshal(b []byte) error
- type WriteResponse
- func (*WriteResponse) Descriptor() ([]byte, []int)
- func (m *WriteResponse) Marshal() (dAtA []byte, err error)
- func (m *WriteResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *WriteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WriteResponse) ProtoMessage()
- func (m *WriteResponse) Reset()
- func (m *WriteResponse) Size() (n int)
- func (m *WriteResponse) String() string
- func (m *WriteResponse) Unmarshal(dAtA []byte) error
- func (m *WriteResponse) XXX_DiscardUnknown()
- func (m *WriteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WriteResponse) XXX_Merge(src proto.Message)
- func (m *WriteResponse) XXX_Size() int
- func (m *WriteResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterStoreHandler ¶
func RegisterStoreHandler(s server.Server, hdlr StoreHandler, opts ...server.HandlerOption) error
func RegisterStoreServer ¶
func RegisterStoreServer(s *grpc.Server, srv StoreServer)
Types ¶
type DatabasesRequest ¶
type DatabasesRequest struct { }
func (*DatabasesRequest) Descriptor ¶
func (*DatabasesRequest) Descriptor() ([]byte, []int)
func (*DatabasesRequest) Marshal ¶
func (m *DatabasesRequest) Marshal() (dAtA []byte, err error)
func (*DatabasesRequest) MarshalToSizedBuffer ¶
func (m *DatabasesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DatabasesRequest) ProtoMessage ¶
func (*DatabasesRequest) ProtoMessage()
func (*DatabasesRequest) Reset ¶
func (m *DatabasesRequest) Reset()
func (*DatabasesRequest) Size ¶
func (m *DatabasesRequest) Size() (n int)
func (*DatabasesRequest) String ¶
func (m *DatabasesRequest) String() string
func (*DatabasesRequest) Unmarshal ¶
func (m *DatabasesRequest) Unmarshal(dAtA []byte) error
func (*DatabasesRequest) XXX_DiscardUnknown ¶
func (m *DatabasesRequest) XXX_DiscardUnknown()
func (*DatabasesRequest) XXX_Marshal ¶
func (m *DatabasesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DatabasesRequest) XXX_Merge ¶
func (m *DatabasesRequest) XXX_Merge(src proto.Message)
func (*DatabasesRequest) XXX_Size ¶
func (m *DatabasesRequest) XXX_Size() int
func (*DatabasesRequest) XXX_Unmarshal ¶
func (m *DatabasesRequest) XXX_Unmarshal(b []byte) error
type DatabasesResponse ¶
type DatabasesResponse struct {
Databases []string `protobuf:"bytes,1,rep,name=databases,proto3" json:"databases,omitempty"`
}
func (*DatabasesResponse) Descriptor ¶
func (*DatabasesResponse) Descriptor() ([]byte, []int)
func (*DatabasesResponse) GetDatabases ¶
func (m *DatabasesResponse) GetDatabases() []string
func (*DatabasesResponse) Marshal ¶
func (m *DatabasesResponse) Marshal() (dAtA []byte, err error)
func (*DatabasesResponse) MarshalTo ¶
func (m *DatabasesResponse) MarshalTo(dAtA []byte) (int, error)
func (*DatabasesResponse) MarshalToSizedBuffer ¶
func (m *DatabasesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DatabasesResponse) ProtoMessage ¶
func (*DatabasesResponse) ProtoMessage()
func (*DatabasesResponse) Reset ¶
func (m *DatabasesResponse) Reset()
func (*DatabasesResponse) Size ¶
func (m *DatabasesResponse) Size() (n int)
func (*DatabasesResponse) String ¶
func (m *DatabasesResponse) String() string
func (*DatabasesResponse) Unmarshal ¶
func (m *DatabasesResponse) Unmarshal(dAtA []byte) error
func (*DatabasesResponse) XXX_DiscardUnknown ¶
func (m *DatabasesResponse) XXX_DiscardUnknown()
func (*DatabasesResponse) XXX_Marshal ¶
func (m *DatabasesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DatabasesResponse) XXX_Merge ¶
func (m *DatabasesResponse) XXX_Merge(src proto.Message)
func (*DatabasesResponse) XXX_Size ¶
func (m *DatabasesResponse) XXX_Size() int
func (*DatabasesResponse) XXX_Unmarshal ¶
func (m *DatabasesResponse) XXX_Unmarshal(b []byte) error
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"` }
func (*DeleteOptions) Descriptor ¶
func (*DeleteOptions) Descriptor() ([]byte, []int)
func (*DeleteOptions) GetDatabase ¶
func (m *DeleteOptions) GetDatabase() string
func (*DeleteOptions) GetTable ¶
func (m *DeleteOptions) GetTable() string
func (*DeleteOptions) Marshal ¶
func (m *DeleteOptions) Marshal() (dAtA []byte, err error)
func (*DeleteOptions) MarshalToSizedBuffer ¶
func (m *DeleteOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeleteOptions) ProtoMessage ¶
func (*DeleteOptions) ProtoMessage()
func (*DeleteOptions) Reset ¶
func (m *DeleteOptions) Reset()
func (*DeleteOptions) Size ¶
func (m *DeleteOptions) Size() (n int)
func (*DeleteOptions) String ¶
func (m *DeleteOptions) String() string
func (*DeleteOptions) Unmarshal ¶
func (m *DeleteOptions) Unmarshal(dAtA []byte) error
func (*DeleteOptions) XXX_DiscardUnknown ¶
func (m *DeleteOptions) XXX_DiscardUnknown()
func (*DeleteOptions) XXX_Marshal ¶
func (m *DeleteOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteOptions) XXX_Merge ¶
func (m *DeleteOptions) XXX_Merge(src proto.Message)
func (*DeleteOptions) XXX_Size ¶
func (m *DeleteOptions) XXX_Size() int
func (*DeleteOptions) XXX_Unmarshal ¶
func (m *DeleteOptions) XXX_Unmarshal(b []byte) error
type DeleteRequest ¶
type DeleteRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Options *DeleteOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` }
func (*DeleteRequest) Descriptor ¶
func (*DeleteRequest) Descriptor() ([]byte, []int)
func (*DeleteRequest) GetKey ¶
func (m *DeleteRequest) GetKey() string
func (*DeleteRequest) GetOptions ¶
func (m *DeleteRequest) GetOptions() *DeleteOptions
func (*DeleteRequest) Marshal ¶
func (m *DeleteRequest) Marshal() (dAtA []byte, err error)
func (*DeleteRequest) MarshalToSizedBuffer ¶
func (m *DeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) Reset ¶
func (m *DeleteRequest) Reset()
func (*DeleteRequest) Size ¶
func (m *DeleteRequest) Size() (n int)
func (*DeleteRequest) String ¶
func (m *DeleteRequest) String() string
func (*DeleteRequest) Unmarshal ¶
func (m *DeleteRequest) Unmarshal(dAtA []byte) error
func (*DeleteRequest) XXX_DiscardUnknown ¶
func (m *DeleteRequest) XXX_DiscardUnknown()
func (*DeleteRequest) XXX_Marshal ¶
func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteRequest) XXX_Merge ¶
func (m *DeleteRequest) XXX_Merge(src proto.Message)
func (*DeleteRequest) XXX_Size ¶
func (m *DeleteRequest) XXX_Size() int
func (*DeleteRequest) XXX_Unmarshal ¶
func (m *DeleteRequest) XXX_Unmarshal(b []byte) error
type DeleteResponse ¶
type DeleteResponse struct { }
func (*DeleteResponse) Descriptor ¶
func (*DeleteResponse) Descriptor() ([]byte, []int)
func (*DeleteResponse) Marshal ¶
func (m *DeleteResponse) Marshal() (dAtA []byte, err error)
func (*DeleteResponse) MarshalToSizedBuffer ¶
func (m *DeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeleteResponse) ProtoMessage ¶
func (*DeleteResponse) ProtoMessage()
func (*DeleteResponse) Reset ¶
func (m *DeleteResponse) Reset()
func (*DeleteResponse) Size ¶
func (m *DeleteResponse) Size() (n int)
func (*DeleteResponse) String ¶
func (m *DeleteResponse) String() string
func (*DeleteResponse) Unmarshal ¶
func (m *DeleteResponse) Unmarshal(dAtA []byte) error
func (*DeleteResponse) XXX_DiscardUnknown ¶
func (m *DeleteResponse) XXX_DiscardUnknown()
func (*DeleteResponse) XXX_Marshal ¶
func (m *DeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteResponse) XXX_Merge ¶
func (m *DeleteResponse) XXX_Merge(src proto.Message)
func (*DeleteResponse) XXX_Size ¶
func (m *DeleteResponse) XXX_Size() int
func (*DeleteResponse) XXX_Unmarshal ¶
func (m *DeleteResponse) XXX_Unmarshal(b []byte) error
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"` }
func (*Field) Descriptor ¶
func (*Field) ProtoMessage ¶
func (*Field) ProtoMessage()
func (*Field) XXX_DiscardUnknown ¶
func (m *Field) XXX_DiscardUnknown()
func (*Field) XXX_Marshal ¶
func (*Field) XXX_Unmarshal ¶
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"` }
func (*ListOptions) Descriptor ¶
func (*ListOptions) Descriptor() ([]byte, []int)
func (*ListOptions) GetDatabase ¶
func (m *ListOptions) GetDatabase() string
func (*ListOptions) GetLimit ¶
func (m *ListOptions) GetLimit() uint64
func (*ListOptions) GetOffset ¶
func (m *ListOptions) GetOffset() uint64
func (*ListOptions) GetPrefix ¶
func (m *ListOptions) GetPrefix() string
func (*ListOptions) GetSuffix ¶
func (m *ListOptions) GetSuffix() string
func (*ListOptions) GetTable ¶
func (m *ListOptions) GetTable() string
func (*ListOptions) Marshal ¶
func (m *ListOptions) Marshal() (dAtA []byte, err error)
func (*ListOptions) MarshalToSizedBuffer ¶
func (m *ListOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListOptions) ProtoMessage ¶
func (*ListOptions) ProtoMessage()
func (*ListOptions) Reset ¶
func (m *ListOptions) Reset()
func (*ListOptions) Size ¶
func (m *ListOptions) Size() (n int)
func (*ListOptions) String ¶
func (m *ListOptions) String() string
func (*ListOptions) Unmarshal ¶
func (m *ListOptions) Unmarshal(dAtA []byte) error
func (*ListOptions) XXX_DiscardUnknown ¶
func (m *ListOptions) XXX_DiscardUnknown()
func (*ListOptions) XXX_Marshal ¶
func (m *ListOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListOptions) XXX_Merge ¶
func (m *ListOptions) XXX_Merge(src proto.Message)
func (*ListOptions) XXX_Size ¶
func (m *ListOptions) XXX_Size() int
func (*ListOptions) XXX_Unmarshal ¶
func (m *ListOptions) XXX_Unmarshal(b []byte) error
type ListRequest ¶
type ListRequest struct {
Options *ListOptions `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"`
}
func (*ListRequest) Descriptor ¶
func (*ListRequest) Descriptor() ([]byte, []int)
func (*ListRequest) GetOptions ¶
func (m *ListRequest) GetOptions() *ListOptions
func (*ListRequest) Marshal ¶
func (m *ListRequest) Marshal() (dAtA []byte, err error)
func (*ListRequest) MarshalToSizedBuffer ¶
func (m *ListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) Reset ¶
func (m *ListRequest) Reset()
func (*ListRequest) Size ¶
func (m *ListRequest) Size() (n int)
func (*ListRequest) String ¶
func (m *ListRequest) String() string
func (*ListRequest) Unmarshal ¶
func (m *ListRequest) Unmarshal(dAtA []byte) error
func (*ListRequest) XXX_DiscardUnknown ¶
func (m *ListRequest) XXX_DiscardUnknown()
func (*ListRequest) XXX_Marshal ¶
func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListRequest) XXX_Merge ¶
func (m *ListRequest) XXX_Merge(src proto.Message)
func (*ListRequest) XXX_Size ¶
func (m *ListRequest) XXX_Size() int
func (*ListRequest) XXX_Unmarshal ¶
func (m *ListRequest) XXX_Unmarshal(b []byte) error
type ListResponse ¶
type ListResponse struct {
Keys []string `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"`
}
func (*ListResponse) Descriptor ¶
func (*ListResponse) Descriptor() ([]byte, []int)
func (*ListResponse) GetKeys ¶
func (m *ListResponse) GetKeys() []string
func (*ListResponse) Marshal ¶
func (m *ListResponse) Marshal() (dAtA []byte, err error)
func (*ListResponse) MarshalToSizedBuffer ¶
func (m *ListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) Reset ¶
func (m *ListResponse) Reset()
func (*ListResponse) Size ¶
func (m *ListResponse) Size() (n int)
func (*ListResponse) String ¶
func (m *ListResponse) String() string
func (*ListResponse) Unmarshal ¶
func (m *ListResponse) Unmarshal(dAtA []byte) error
func (*ListResponse) XXX_DiscardUnknown ¶
func (m *ListResponse) XXX_DiscardUnknown()
func (*ListResponse) XXX_Marshal ¶
func (m *ListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListResponse) XXX_Merge ¶
func (m *ListResponse) XXX_Merge(src proto.Message)
func (*ListResponse) XXX_Size ¶
func (m *ListResponse) XXX_Size() int
func (*ListResponse) XXX_Unmarshal ¶
func (m *ListResponse) XXX_Unmarshal(b []byte) error
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"` }
func (*ReadOptions) Descriptor ¶
func (*ReadOptions) Descriptor() ([]byte, []int)
func (*ReadOptions) GetDatabase ¶
func (m *ReadOptions) GetDatabase() string
func (*ReadOptions) GetLimit ¶
func (m *ReadOptions) GetLimit() uint64
func (*ReadOptions) GetOffset ¶
func (m *ReadOptions) GetOffset() uint64
func (*ReadOptions) GetPrefix ¶
func (m *ReadOptions) GetPrefix() bool
func (*ReadOptions) GetSuffix ¶
func (m *ReadOptions) GetSuffix() bool
func (*ReadOptions) GetTable ¶
func (m *ReadOptions) GetTable() string
func (*ReadOptions) Marshal ¶
func (m *ReadOptions) Marshal() (dAtA []byte, err error)
func (*ReadOptions) MarshalToSizedBuffer ¶
func (m *ReadOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ReadOptions) ProtoMessage ¶
func (*ReadOptions) ProtoMessage()
func (*ReadOptions) Reset ¶
func (m *ReadOptions) Reset()
func (*ReadOptions) Size ¶
func (m *ReadOptions) Size() (n int)
func (*ReadOptions) String ¶
func (m *ReadOptions) String() string
func (*ReadOptions) Unmarshal ¶
func (m *ReadOptions) Unmarshal(dAtA []byte) error
func (*ReadOptions) XXX_DiscardUnknown ¶
func (m *ReadOptions) XXX_DiscardUnknown()
func (*ReadOptions) XXX_Marshal ¶
func (m *ReadOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadOptions) XXX_Merge ¶
func (m *ReadOptions) XXX_Merge(src proto.Message)
func (*ReadOptions) XXX_Size ¶
func (m *ReadOptions) XXX_Size() int
func (*ReadOptions) XXX_Unmarshal ¶
func (m *ReadOptions) XXX_Unmarshal(b []byte) error
type ReadRequest ¶
type ReadRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Options *ReadOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` }
func (*ReadRequest) Descriptor ¶
func (*ReadRequest) Descriptor() ([]byte, []int)
func (*ReadRequest) GetKey ¶
func (m *ReadRequest) GetKey() string
func (*ReadRequest) GetOptions ¶
func (m *ReadRequest) GetOptions() *ReadOptions
func (*ReadRequest) Marshal ¶
func (m *ReadRequest) Marshal() (dAtA []byte, err error)
func (*ReadRequest) MarshalToSizedBuffer ¶
func (m *ReadRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ReadRequest) ProtoMessage ¶
func (*ReadRequest) ProtoMessage()
func (*ReadRequest) Reset ¶
func (m *ReadRequest) Reset()
func (*ReadRequest) Size ¶
func (m *ReadRequest) Size() (n int)
func (*ReadRequest) String ¶
func (m *ReadRequest) String() string
func (*ReadRequest) Unmarshal ¶
func (m *ReadRequest) Unmarshal(dAtA []byte) error
func (*ReadRequest) XXX_DiscardUnknown ¶
func (m *ReadRequest) XXX_DiscardUnknown()
func (*ReadRequest) XXX_Marshal ¶
func (m *ReadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadRequest) XXX_Merge ¶
func (m *ReadRequest) XXX_Merge(src proto.Message)
func (*ReadRequest) XXX_Size ¶
func (m *ReadRequest) XXX_Size() int
func (*ReadRequest) XXX_Unmarshal ¶
func (m *ReadRequest) XXX_Unmarshal(b []byte) error
type ReadResponse ¶
type ReadResponse struct {
Records []*Record `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
}
func (*ReadResponse) Descriptor ¶
func (*ReadResponse) Descriptor() ([]byte, []int)
func (*ReadResponse) GetRecords ¶
func (m *ReadResponse) GetRecords() []*Record
func (*ReadResponse) Marshal ¶
func (m *ReadResponse) Marshal() (dAtA []byte, err error)
func (*ReadResponse) MarshalToSizedBuffer ¶
func (m *ReadResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ReadResponse) ProtoMessage ¶
func (*ReadResponse) ProtoMessage()
func (*ReadResponse) Reset ¶
func (m *ReadResponse) Reset()
func (*ReadResponse) Size ¶
func (m *ReadResponse) Size() (n int)
func (*ReadResponse) String ¶
func (m *ReadResponse) String() string
func (*ReadResponse) Unmarshal ¶
func (m *ReadResponse) Unmarshal(dAtA []byte) error
func (*ReadResponse) XXX_DiscardUnknown ¶
func (m *ReadResponse) XXX_DiscardUnknown()
func (*ReadResponse) XXX_Marshal ¶
func (m *ReadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadResponse) XXX_Merge ¶
func (m *ReadResponse) XXX_Merge(src proto.Message)
func (*ReadResponse) XXX_Size ¶
func (m *ReadResponse) XXX_Size() int
func (*ReadResponse) XXX_Unmarshal ¶
func (m *ReadResponse) XXX_Unmarshal(b []byte) error
type Record ¶
type Record struct { // key of the record 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 */ }
func (*Record) Descriptor ¶
func (*Record) GetMetadata ¶
func (*Record) MarshalToSizedBuffer ¶
func (*Record) ProtoMessage ¶
func (*Record) ProtoMessage()
func (*Record) XXX_DiscardUnknown ¶
func (m *Record) XXX_DiscardUnknown()
func (*Record) XXX_Marshal ¶
func (*Record) XXX_Unmarshal ¶
type StoreClient ¶
type StoreClient interface { Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (*ReadResponse, error) Write(ctx context.Context, in *WriteRequest, opts ...grpc.CallOption) (*WriteResponse, error) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (Store_ListClient, error) Databases(ctx context.Context, in *DatabasesRequest, opts ...grpc.CallOption) (*DatabasesResponse, error) Tables(ctx context.Context, in *TablesRequest, opts ...grpc.CallOption) (*TablesResponse, error) }
StoreClient is the client API for Store service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewStoreClient ¶
func NewStoreClient(cc *grpc.ClientConn) StoreClient
type StoreHandler ¶
type StoreHandler interface { Read(context.Context, *ReadRequest, *ReadResponse) error Write(context.Context, *WriteRequest, *WriteResponse) error Delete(context.Context, *DeleteRequest, *DeleteResponse) error List(context.Context, *ListRequest, Store_ListStream) error Databases(context.Context, *DatabasesRequest, *DatabasesResponse) error Tables(context.Context, *TablesRequest, *TablesResponse) error }
Server API for Store service
type StoreServer ¶
type StoreServer interface { Read(context.Context, *ReadRequest) (*ReadResponse, error) Write(context.Context, *WriteRequest) (*WriteResponse, error) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) List(*ListRequest, Store_ListServer) error Databases(context.Context, *DatabasesRequest) (*DatabasesResponse, error) Tables(context.Context, *TablesRequest) (*TablesResponse, error) }
StoreServer is the server API for Store service.
type StoreService ¶
type StoreService interface { Read(ctx context.Context, in *ReadRequest, opts ...client.CallOption) (*ReadResponse, error) Write(ctx context.Context, in *WriteRequest, opts ...client.CallOption) (*WriteResponse, error) Delete(ctx context.Context, in *DeleteRequest, opts ...client.CallOption) (*DeleteResponse, error) List(ctx context.Context, in *ListRequest, opts ...client.CallOption) (Store_ListService, error) Databases(ctx context.Context, in *DatabasesRequest, opts ...client.CallOption) (*DatabasesResponse, error) Tables(ctx context.Context, in *TablesRequest, opts ...client.CallOption) (*TablesResponse, error) }
Client API for Store service
func NewStoreService ¶
func NewStoreService(name string, c client.Client) StoreService
type Store_ListClient ¶
type Store_ListClient interface { Recv() (*ListResponse, error) grpc.ClientStream }
type Store_ListServer ¶
type Store_ListServer interface { Send(*ListResponse) error grpc.ServerStream }
type Store_ListService ¶
type Store_ListStream ¶
type TablesRequest ¶
type TablesRequest struct {
Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
}
func (*TablesRequest) Descriptor ¶
func (*TablesRequest) Descriptor() ([]byte, []int)
func (*TablesRequest) GetDatabase ¶
func (m *TablesRequest) GetDatabase() string
func (*TablesRequest) Marshal ¶
func (m *TablesRequest) Marshal() (dAtA []byte, err error)
func (*TablesRequest) MarshalToSizedBuffer ¶
func (m *TablesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TablesRequest) ProtoMessage ¶
func (*TablesRequest) ProtoMessage()
func (*TablesRequest) Reset ¶
func (m *TablesRequest) Reset()
func (*TablesRequest) Size ¶
func (m *TablesRequest) Size() (n int)
func (*TablesRequest) String ¶
func (m *TablesRequest) String() string
func (*TablesRequest) Unmarshal ¶
func (m *TablesRequest) Unmarshal(dAtA []byte) error
func (*TablesRequest) XXX_DiscardUnknown ¶
func (m *TablesRequest) XXX_DiscardUnknown()
func (*TablesRequest) XXX_Marshal ¶
func (m *TablesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TablesRequest) XXX_Merge ¶
func (m *TablesRequest) XXX_Merge(src proto.Message)
func (*TablesRequest) XXX_Size ¶
func (m *TablesRequest) XXX_Size() int
func (*TablesRequest) XXX_Unmarshal ¶
func (m *TablesRequest) XXX_Unmarshal(b []byte) error
type TablesResponse ¶
type TablesResponse struct {
Tables []string `protobuf:"bytes,1,rep,name=tables,proto3" json:"tables,omitempty"`
}
func (*TablesResponse) Descriptor ¶
func (*TablesResponse) Descriptor() ([]byte, []int)
func (*TablesResponse) GetTables ¶
func (m *TablesResponse) GetTables() []string
func (*TablesResponse) Marshal ¶
func (m *TablesResponse) Marshal() (dAtA []byte, err error)
func (*TablesResponse) MarshalToSizedBuffer ¶
func (m *TablesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TablesResponse) ProtoMessage ¶
func (*TablesResponse) ProtoMessage()
func (*TablesResponse) Reset ¶
func (m *TablesResponse) Reset()
func (*TablesResponse) Size ¶
func (m *TablesResponse) Size() (n int)
func (*TablesResponse) String ¶
func (m *TablesResponse) String() string
func (*TablesResponse) Unmarshal ¶
func (m *TablesResponse) Unmarshal(dAtA []byte) error
func (*TablesResponse) XXX_DiscardUnknown ¶
func (m *TablesResponse) XXX_DiscardUnknown()
func (*TablesResponse) XXX_Marshal ¶
func (m *TablesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TablesResponse) XXX_Merge ¶
func (m *TablesResponse) XXX_Merge(src proto.Message)
func (*TablesResponse) XXX_Size ¶
func (m *TablesResponse) XXX_Size() int
func (*TablesResponse) XXX_Unmarshal ¶
func (m *TablesResponse) XXX_Unmarshal(b []byte) error
type UnimplementedStoreServer ¶
type UnimplementedStoreServer struct { }
UnimplementedStoreServer can be embedded to have forward compatible implementations.
func (*UnimplementedStoreServer) Databases ¶
func (*UnimplementedStoreServer) Databases(ctx context.Context, req *DatabasesRequest) (*DatabasesResponse, error)
func (*UnimplementedStoreServer) Delete ¶
func (*UnimplementedStoreServer) Delete(ctx context.Context, req *DeleteRequest) (*DeleteResponse, error)
func (*UnimplementedStoreServer) List ¶
func (*UnimplementedStoreServer) List(req *ListRequest, srv Store_ListServer) error
func (*UnimplementedStoreServer) Read ¶
func (*UnimplementedStoreServer) Read(ctx context.Context, req *ReadRequest) (*ReadResponse, error)
func (*UnimplementedStoreServer) Tables ¶
func (*UnimplementedStoreServer) Tables(ctx context.Context, req *TablesRequest) (*TablesResponse, error)
func (*UnimplementedStoreServer) Write ¶
func (*UnimplementedStoreServer) Write(ctx context.Context, req *WriteRequest) (*WriteResponse, error)
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"` }
func (*WriteOptions) Descriptor ¶
func (*WriteOptions) Descriptor() ([]byte, []int)
func (*WriteOptions) GetDatabase ¶
func (m *WriteOptions) GetDatabase() string
func (*WriteOptions) GetExpiry ¶
func (m *WriteOptions) GetExpiry() int64
func (*WriteOptions) GetTable ¶
func (m *WriteOptions) GetTable() string
func (*WriteOptions) GetTtl ¶
func (m *WriteOptions) GetTtl() int64
func (*WriteOptions) Marshal ¶
func (m *WriteOptions) Marshal() (dAtA []byte, err error)
func (*WriteOptions) MarshalToSizedBuffer ¶
func (m *WriteOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WriteOptions) ProtoMessage ¶
func (*WriteOptions) ProtoMessage()
func (*WriteOptions) Reset ¶
func (m *WriteOptions) Reset()
func (*WriteOptions) Size ¶
func (m *WriteOptions) Size() (n int)
func (*WriteOptions) String ¶
func (m *WriteOptions) String() string
func (*WriteOptions) Unmarshal ¶
func (m *WriteOptions) Unmarshal(dAtA []byte) error
func (*WriteOptions) XXX_DiscardUnknown ¶
func (m *WriteOptions) XXX_DiscardUnknown()
func (*WriteOptions) XXX_Marshal ¶
func (m *WriteOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WriteOptions) XXX_Merge ¶
func (m *WriteOptions) XXX_Merge(src proto.Message)
func (*WriteOptions) XXX_Size ¶
func (m *WriteOptions) XXX_Size() int
func (*WriteOptions) XXX_Unmarshal ¶
func (m *WriteOptions) XXX_Unmarshal(b []byte) error
type WriteRequest ¶
type WriteRequest struct { Record *Record `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"` Options *WriteOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` }
func (*WriteRequest) Descriptor ¶
func (*WriteRequest) Descriptor() ([]byte, []int)
func (*WriteRequest) GetOptions ¶
func (m *WriteRequest) GetOptions() *WriteOptions
func (*WriteRequest) GetRecord ¶
func (m *WriteRequest) GetRecord() *Record
func (*WriteRequest) Marshal ¶
func (m *WriteRequest) Marshal() (dAtA []byte, err error)
func (*WriteRequest) MarshalToSizedBuffer ¶
func (m *WriteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WriteRequest) ProtoMessage ¶
func (*WriteRequest) ProtoMessage()
func (*WriteRequest) Reset ¶
func (m *WriteRequest) Reset()
func (*WriteRequest) Size ¶
func (m *WriteRequest) Size() (n int)
func (*WriteRequest) String ¶
func (m *WriteRequest) String() string
func (*WriteRequest) Unmarshal ¶
func (m *WriteRequest) Unmarshal(dAtA []byte) error
func (*WriteRequest) XXX_DiscardUnknown ¶
func (m *WriteRequest) XXX_DiscardUnknown()
func (*WriteRequest) XXX_Marshal ¶
func (m *WriteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WriteRequest) XXX_Merge ¶
func (m *WriteRequest) XXX_Merge(src proto.Message)
func (*WriteRequest) XXX_Size ¶
func (m *WriteRequest) XXX_Size() int
func (*WriteRequest) XXX_Unmarshal ¶
func (m *WriteRequest) XXX_Unmarshal(b []byte) error
type WriteResponse ¶
type WriteResponse struct { }
func (*WriteResponse) Descriptor ¶
func (*WriteResponse) Descriptor() ([]byte, []int)
func (*WriteResponse) Marshal ¶
func (m *WriteResponse) Marshal() (dAtA []byte, err error)
func (*WriteResponse) MarshalToSizedBuffer ¶
func (m *WriteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WriteResponse) ProtoMessage ¶
func (*WriteResponse) ProtoMessage()
func (*WriteResponse) Reset ¶
func (m *WriteResponse) Reset()
func (*WriteResponse) Size ¶
func (m *WriteResponse) Size() (n int)
func (*WriteResponse) String ¶
func (m *WriteResponse) String() string
func (*WriteResponse) Unmarshal ¶
func (m *WriteResponse) Unmarshal(dAtA []byte) error
func (*WriteResponse) XXX_DiscardUnknown ¶
func (m *WriteResponse) XXX_DiscardUnknown()
func (*WriteResponse) XXX_Marshal ¶
func (m *WriteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WriteResponse) XXX_Merge ¶
func (m *WriteResponse) XXX_Merge(src proto.Message)
func (*WriteResponse) XXX_Size ¶
func (m *WriteResponse) XXX_Size() int
func (*WriteResponse) XXX_Unmarshal ¶
func (m *WriteResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.