owl

package
v0.0.0-...-5416f79 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DbFacade *f.DbFacade

Functions

func AddOrRefreshQuery

func AddOrRefreshQuery(query *model.Query, accessTime time.Time)

Adds a query or refresh an existing one

func LoadQueryByUuidAndUpdateAccessTime

func LoadQueryByUuidAndUpdateAccessTime(uuid uuid.UUID, accessTime time.Time) *model.Query

It is possible that the access times of two requests are very closed(less than 1 second)

func RemoveOldQueryObject

func RemoveOldQueryObject(beforeTime time.Time) int64

func UpdateAccessTimeOrAddNewOne

func UpdateAccessTimeOrAddNewOne(query *model.Query, accessTime time.Time)

Updates access time of a query or adding new one

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL