messagestatscollector

package
v1.21.1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RoundHour added in v1.20.17

func RoundHour(t time.Time) time.Time

Types

type Collector

type Collector struct {
	MsgEvtChan chan *discordgo.Message
	// contains filtered or unexported fields
}

Collector is a message stats collector which will preiodically update the serberstats messages table with stats

func NewCollector

func NewCollector(l *logrus.Entry, updateInterval time.Duration) *Collector

NewCollector creates a new Collector

Jump to

Keyboard shortcuts

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