package
Version:
v1.6.0
Opens a new window with list of versions in this module.
Published: Aug 27, 2020
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Handler ¶
func (*Handler) Register ¶
type Line struct {
Date time.Time `db:"date" json:"date"`
Count int64 `db:"count" json:"count"`
}
type Overview struct {
Today int64 `db:"today" json:"today"`
Yesterday int64 `db:"yesterday" json:"yesterday"`
LastSevenDays int64 `db:"last_seven_days" json:"last_seven_days"`
LastThirtyDays int64 `db:"last_thirty_days" json:"last_thirty_days"`
Total int64 `db:"total" json:"total"`
}
type QueryParams struct {
DomainID int64 `json:"domain_id" schema:"domain_id"`
PackageID int64 `json:"package_id" schema:"package_id"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.