Documentation ¶
Index ¶
- type BlobStore
- func (b *BlobStore) Delete(ctx context.Context, req *pb.BlobDeleteRequest, rsp *pb.BlobDeleteResponse) error
- func (b *BlobStore) List(ctx context.Context, req *pb.BlobListRequest, rsp *pb.BlobListResponse) error
- func (b *BlobStore) Read(ctx context.Context, req *pb.BlobReadRequest, stream pb.BlobStore_ReadStream) error
- func (b *BlobStore) Write(ctx context.Context, stream pb.BlobStore_WriteStream) error
- type Store
- func (h *Store) Databases(ctx context.Context, req *pb.DatabasesRequest, rsp *pb.DatabasesResponse) error
- func (h *Store) Delete(ctx context.Context, req *pb.DeleteRequest, rsp *pb.DeleteResponse) error
- func (h *Store) List(ctx context.Context, req *pb.ListRequest, stream pb.Store_ListStream) error
- func (h *Store) Read(ctx context.Context, req *pb.ReadRequest, rsp *pb.ReadResponse) error
- func (h *Store) Tables(ctx context.Context, req *pb.TablesRequest, rsp *pb.TablesResponse) error
- func (h *Store) Write(ctx context.Context, req *pb.WriteRequest, rsp *pb.WriteResponse) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlobStore ¶
type BlobStore struct{}
func (*BlobStore) Delete ¶
func (b *BlobStore) Delete(ctx context.Context, req *pb.BlobDeleteRequest, rsp *pb.BlobDeleteResponse) error
func (*BlobStore) List ¶
func (b *BlobStore) List(ctx context.Context, req *pb.BlobListRequest, rsp *pb.BlobListResponse) error
func (*BlobStore) Read ¶
func (b *BlobStore) Read(ctx context.Context, req *pb.BlobReadRequest, stream pb.BlobStore_ReadStream) error
type Store ¶
func (*Store) Databases ¶
func (h *Store) Databases(ctx context.Context, req *pb.DatabasesRequest, rsp *pb.DatabasesResponse) error
Databases lists all the databases
func (*Store) Delete ¶
func (h *Store) Delete(ctx context.Context, req *pb.DeleteRequest, rsp *pb.DeleteResponse) error
func (*Store) List ¶
func (h *Store) List(ctx context.Context, req *pb.ListRequest, stream pb.Store_ListStream) error
List all the keys in a table
func (*Store) Read ¶
func (h *Store) Read(ctx context.Context, req *pb.ReadRequest, rsp *pb.ReadResponse) error
Read records from the store
func (*Store) Tables ¶
func (h *Store) Tables(ctx context.Context, req *pb.TablesRequest, rsp *pb.TablesResponse) error
Tables returns all the tables in a database
func (*Store) Write ¶
func (h *Store) Write(ctx context.Context, req *pb.WriteRequest, rsp *pb.WriteResponse) error
Write to the store
Click to show internal directories.
Click to hide internal directories.