package
Version:
v0.0.0-...-391d2ec
Opens a new window with list of versions in this module.
Published: Jun 19, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Manager provides an API to manage stats.
func NewManager(db hub.DB) *Manager
NewManager creates a new Manager instance.
GetJSON returns some stats as a json object built by the database.
ManagerMock is a mock implementation of the StatsManager interface.
GetJSON implements the StatsManager interface.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.