counter

package
v0.0.0-...-744e187 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Counter

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

func NewCounter

func NewCounter(db *gorm.DB) *Counter

func (*Counter) Count

func (c *Counter) Count()

func (*Counter) GetClicks

func (c *Counter) GetClicks(from, to time.Time) int

func (*Counter) GetKeys

func (c *Counter) GetKeys(from, to time.Time) int

Jump to

Keyboard shortcuts

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