sql

package
v0.0.0-...-1bb8eae Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DP

type DP struct {
	// contains filtered or unexported fields
}

func New

func New(bo objects.BackendOptions) (*DP, error)

func (*DP) AddDataPoint

func (d *DP) AddDataPoint(item objects.DataPoint) error

func (*DP) AddDataPoints

func (d *DP) AddDataPoints(items []objects.DataPoint) error

func (*DP) AddSession

func (d *DP) AddSession(item session.Session) error

func (*DP) AddSessions

func (d *DP) AddSessions(items []session.Session) error

func (*DP) CacheStats

func (d *DP) CacheStats() *session.CacheStats

func (*DP) DailySessions

func (d *DP) DailySessions(from time.Time, to time.Time) (map[time.Time][]session.Session, error)

func (*DP) DataBeginTime

func (d *DP) DataBeginTime() (*time.Time, error)

func (*DP) DataEndTime

func (d *DP) DataEndTime() (*time.Time, error)

func (*DP) GetDataPoints

func (d *DP) GetDataPoints(from time.Time, to time.Time) ([]objects.DataPoint, error)

Jump to

Keyboard shortcuts

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