Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type BaseKVRepository ¶
type BaseKVRepository struct {
BaseRepository
}
func (*BaseKVRepository) Delete ¶
func (r *BaseKVRepository) Delete(params ...interface{}) error
Delete removes a key:value pair from the database
func (*BaseKVRepository) Get ¶
func (r *BaseKVRepository) Get(params ...interface{}) error
Get retrieves a key:value pair from the database
func (*BaseKVRepository) Parse ¶
func (r *BaseKVRepository) Parse(params ...interface{}) ([]byte, []byte, interface{}, error)
func (*BaseKVRepository) Put ¶
func (r *BaseKVRepository) Put(params ...interface{}) error
Put inserts a key:value pair into the database
type BaseRepository ¶
type BaseRepository struct { }
func (*BaseRepository) CloseDataSource ¶
func (r *BaseRepository) CloseDataSource() error
func (*BaseRepository) DataSource ¶
func (r *BaseRepository) DataSource() interface{}
func (*BaseRepository) SetDataSource ¶
func (r *BaseRepository) SetDataSource(dataSource interface{})
type Configuration ¶
type Configuration interface { }
type KVRepository ¶
type KVRepository interface { Repository Put(params ...interface{}) error Get(params ...interface{}) error Delete(params ...interface{}) error }
KVRepository is the Key/Value Repository interface
Click to show internal directories.
Click to hide internal directories.