Documentation ¶
Index ¶
- func NewDB(addr string, credential *options.Credential) (*kv.DB, error)
- type MTxnStore
- func (m MTxnStore) Close() error
- func (m MTxnStore) GetTxnRecord(ctx context.Context, version uint64) (value types.DBValue, err error)
- func (m MTxnStore) RemoveTxnRecord(ctx context.Context, version uint64) error
- func (m MTxnStore) UpsertTxnRecord(ctx context.Context, version uint64, val types.DBValue) error
- type MongoVVS
- func (m MongoVVS) Close() error
- func (m MongoVVS) Floor(ctx context.Context, key string, upperVersion uint64) (types.DBValue, uint64, error)
- func (m MongoVVS) Get(ctx context.Context, key string, version uint64) (types.DBValue, error)
- func (m MongoVVS) Remove(ctx context.Context, key string, version uint64) error
- func (m MongoVVS) RemoveIf(ctx context.Context, key string, version uint64, ...) error
- func (m MongoVVS) UpdateFlag(ctx context.Context, key string, version uint64, newFlag uint8) error
- func (m MongoVVS) Upsert(ctx context.Context, key string, version uint64, val types.DBValue) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MTxnStore ¶
type MTxnStore struct {
// contains filtered or unexported fields
}
func (MTxnStore) GetTxnRecord ¶
func (MTxnStore) RemoveTxnRecord ¶
Click to show internal directories.
Click to hide internal directories.