Documentation ¶
Index ¶
- Variables
- func AppendNotFound(query string) (err error)
- func CheckNotFound(query string) (int, error)
- func CounterIncr(query string, history chan int)
- func GetCachedQuery(r *model.Result) (err error)
- func GetCachedQueryFromJson(r *model.Result) (err error)
- func GetLongTextCache(r *model.Result) (err error)
- func InitDB() error
- func RemoveNotFound(query string) error
- func UpdateLongTextCache(r *model.Result) (err error)
- func UpdateQueryCache(r *model.Result) (err error)
- func UpdateQueryCacheJson(r *model.Result) (err error)
- type LongTextData
- type MonthCounter
Constants ¶
This section is empty.
Variables ¶
View Source
var CACHE_ROOT_PATH = run.CACHE_ROOT_PATH
View Source
var CACHE_RUN_PATH = run.CACHE_RUN_PATH
View Source
var CACHE_STAT_DIR_PATH = run.CACHE_STAT_DIR_PATH
View Source
var CACHE_WORDS_PATH = run.CACHE_WORDS_PATH
View Source
var DB_FILENAME = "kd_data.db"
View Source
var LONG_TEXT_CACHE_FILE string
View Source
var LiteDB *sql.DB
Functions ¶
func AppendNotFound ¶
func CheckNotFound ¶
func CounterIncr ¶
func GetCachedQuery ¶
func GetCachedQueryFromJson ¶
func GetLongTextCache ¶ added in v0.0.7
func RemoveNotFound ¶
func UpdateLongTextCache ¶ added in v0.0.7
func UpdateQueryCache ¶
func UpdateQueryCacheJson ¶
Types ¶
type LongTextData ¶ added in v0.0.7
type MonthCounter ¶
Click to show internal directories.
Click to hide internal directories.