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. |
Click to show internal directories.
Click to hide internal directories.