timeseries

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultSession = 15 * time.Minute

Variables

This section is empty.

Functions

func Block added in v0.0.18

func Block(ctx context.Context) *neo.ActiveBlock

func Open

func Open(ctx context.Context, dir string) (context.Context, io.Closer)

func Register added in v0.0.18

func Register(ctx context.Context, e *entry.Entry)

Register records entry e. Tracks duration between page navigation by using a cache. Entries are cached by the user hash. By default the entry is kept for 15 mins before it is discarded.

By caching , it allows accurate tracking of page navigation. Giving us - entry page - exit page - duration on page - bounce rate

func Save

func Save(ctx context.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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