Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultDatabase = "micro" DefaultTable = "micro" )
Functions ¶
Types ¶
type DB ¶
type DB interface { Init(...Option) error Options() Options Read(id string) (Record, error) Create(r Record) error Update(r Record) error Delete(id string) error Search(md Metadata, limit, offset int64) ([]Record, error) String() string // Potential expiremental in memory DB // needs to be started/stopped to be part of a ring // Also publishing to notify this is querying dbs Start() error Stop() error }
Click to show internal directories.
Click to hide internal directories.