Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigrateCaches ¶
func MigrateCaches(c interface{}, get func() interface{})
MigrateCaches sets target fields to get() result.
func MigrateTables ¶
MigrateTables sets target fields to database tables.
Types ¶
type Readonly ¶
type Readonly struct {
// contains filtered or unexported fields
}
Readonly table wraper of the underling DB, so all the table's data is stored with a prefix in underling DB.
func NewReadonly ¶
func NewReadonly(db kvdb.ReadonlyStore, prefix []byte) *Readonly
func (*Readonly) NewIterator ¶
func (*Readonly) NewReadonlyTable ¶
Click to show internal directories.
Click to hide internal directories.