Documentation ¶
Index ¶
- type Bcache
- func (bc *Bcache) GetKeyspace(key string) (string, bool, gobol.Error)
- func (bc *Bcache) GetTsNumber(key string, CheckTSID func(esType, id string) (bool, gobol.Error)) (bool, gobol.Error)
- func (bc *Bcache) GetTsText(key string, CheckTSID func(esType, id string) (bool, gobol.Error)) (bool, gobol.Error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bcache ¶
type Bcache struct {
// contains filtered or unexported fields
}
Bcache is responsible for caching timeseries keys from elasticsearch
func (*Bcache) GetKeyspace ¶
GetKeyspace returns a keyspace key, a boolean that tells if the key was found or not and an error. If the key isn't in boltdb GetKeyspace tries to fetch the key from cassandra, and if found, puts it in boltdb.
func (*Bcache) GetTsNumber ¶
Click to show internal directories.
Click to hide internal directories.