Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrClassNotFound = errors.New("unable to determine class of db object") ErrUnknownType = errors.New("unable to determine type of the object") ErrUnsupportedEncoding = errors.New("unsupported encoding") )
View Source
var (
DefaultResultLimit uint = 100
)
Functions ¶
func BytesToObj ¶
Types ¶
type Config ¶
type Config struct { BadgerOpts badger.Options `yaml:"badger_opts"` Encoding EncodingType `yaml:"encoding"` Compress bool `yaml:"compress"` }
type DocQuery ¶
type DocQuery struct { ItemQuery Title gocache.StringQuery Symbols gocache.StringQuery Sectors gocache.StringQuery Source gocache.StringQuery ContentType gocache.StringQuery Type gocache.StringQuery PostedDate gocache.TimeQuery }
func NewDocQuery ¶
func NewDocQuery(i ItemQuery, tit gocache.StringQuery, sym gocache.StringQuery, sec gocache.StringQuery, src gocache.StringQuery, ctp gocache.StringQuery, typ gocache.StringQuery, pdt gocache.TimeQuery) DocQuery
Click to show internal directories.
Click to hide internal directories.