statstore

package
v0.0.0-...-f67effe Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotExists = errors.New("Agent db doesnot exist")
)

Functions

func GetAlert

func GetAlert(username []byte) ([][]byte, error)

func GetStats

func GetStats(agentname string, noOfEntries, offset int64) map[int64]map[string]interface{}

func InitDB

func InitDB(path string)

func StoreAlert

func StoreAlert(alertbyte []byte, username []byte, timestamp int64) error

func StoreStat

func StoreStat(agentname string, t int64, value []byte)

Types

This section is empty.

Jump to

Keyboard shortcuts

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