owl

package
v3.15.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2018 License: Apache-2.0 Imports: 8 Imported by: 6

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 RemoveOldScheduleLogs

func RemoveOldScheduleLogs(t 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