analytics

package
v1.32.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RecordActiveUnit

func RecordActiveUnit(guildID int64, plugin common.Plugin, analyticName string)

func RegisterPlugin

func RegisterPlugin()

Types

type ActivityBucket

type ActivityBucket struct {
	GuildID int64
	Count   int
	Plugin  string
	Name    string
}

type Plugin

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

func (*Plugin) PluginInfo

func (p *Plugin) PluginInfo() *common.PluginInfo

func (*Plugin) RunBackgroundWorker

func (p *Plugin) RunBackgroundWorker()

func (*Plugin) StopBackgroundWorker

func (p *Plugin) StopBackgroundWorker(wg *sync.WaitGroup)

Jump to

Keyboard shortcuts

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