stats

package
v0.12.6 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stats

type Stats interface {
	Start() error
	Shutdown(context.Context) error
	APILinkGen()
	APILinkRequest()
	APIUnlink()
	APIAuth()
	APIKeys()
	LinkGen()
	LinkRequest()
	Keys()
	ID()
	JWT()
	GetUserByID()
	GetUser()
	SetUserName()
	GetNewsList()
	GetNews()
	PostNews()
	FSFileRead(id string, size int64)
	FSFileWritten(id string, size int64)
	Close() error
}

Stats provides an interface that different stats backend can implement to track server usage.

Directories

Path Synopsis
Package noop provides a stats impl that does nothing.
Package noop provides a stats impl that does nothing.

Jump to

Keyboard shortcuts

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