Documentation ¶
Index ¶
- func AvgResponseTime() (float64, error)
- func DailyMonitors() ([]database.MonitorRow, error)
- func DailyMonitorsCount() (int, error)
- func DailyRequests() ([]database.RequestRow, error)
- func DailyRequestsCount() (int, error)
- func DailyUsers() ([]database.UserRow, error)
- func DailyUsersCount() (int, error)
- func DatabaseConnections() (int, error)
- func DisplayUserCounts(counts []UserCount)
- func DisplayUserTimes(users []UserTime)
- func DisplayUsers(users []User)
- func HourlyMonitors() ([]database.MonitorRow, error)
- func HourlyMonitorsCount() (int, error)
- func HourlyRequests() ([]database.RequestRow, error)
- func HourlyRequestsCount() (int, error)
- func HourlyUsers() ([]database.UserRow, error)
- func HourlyUsersCount() (int, error)
- func Monitors(interval string) ([]database.MonitorRow, error)
- func MonitorsCount(interval string) (int, error)
- func MonthlyMonitors() ([]database.MonitorRow, error)
- func MonthlyMonitorsCount() (int, error)
- func MonthlyRequests() ([]database.RequestRow, error)
- func MonthlyRequestsCount() (int, error)
- func MonthlyUsers() ([]database.UserRow, error)
- func MonthlyUsersCount() (int, error)
- func Requests(interval string) ([]database.RequestRow, error)
- func RequestsColumnSize() (requestsColumnSize, error)
- func RequestsCount(interval string) (int, error)
- func TableColumnSize(table string, column string) (string, error)
- func TableSize(table string) (string, error)
- func TestAvgResponseTime(t *testing.T)
- func TestDailyRequests(t *testing.T)
- func TestDailyRequestsCount(t *testing.T)
- func TestLocations(t *testing.T)
- func TestMonthlyRequests(t *testing.T)
- func TestMonthlyRequestsCount(t *testing.T)
- func TestMonthlyUserRequests(t *testing.T)
- func TestRequests(t *testing.T)
- func TestRequestsCount(t *testing.T)
- func TestTopFrameworks(t *testing.T)
- func TestTopIPAddresses(t *testing.T)
- func TestTopUserAgents(t *testing.T)
- func TestUserRequests(t *testing.T)
- func TestUserRequestsCount(t *testing.T)
- func TestWeeklyRequests(t *testing.T)
- func TestWeeklyRequestsCount(t *testing.T)
- func TestWeeklyUserRequests(t *testing.T)
- func TopFrameworks() ([]struct{ ... }, error)
- func TopIPAddresses() ([]struct{ ... }, error)
- func TopLocations() ([]struct{ ... }, error)
- func TopUserAgents() ([]struct{ ... }, error)
- func TotalMonitors() ([]database.MonitorRow, error)
- func TotalMonitorsCount() (int, error)
- func TotalRequests() ([]database.RequestRow, error)
- func TotalRequestsCount() (int, error)
- func TotalUsers() ([]database.UserRow, error)
- func TotalUsersCount() (int, error)
- func Users(interval string) ([]database.UserRow, error)
- func UsersCount(interval string) (int, error)
- func WeeklyMonitors() ([]database.MonitorRow, error)
- func WeeklyMonitorsCount() (int, error)
- func WeeklyRequests() ([]database.RequestRow, error)
- func WeeklyRequestsCount() (int, error)
- func WeeklyUsers() ([]database.UserRow, error)
- func WeeklyUsersCount() (int, error)
- type User
- type UserCount
- func DailyUserMonitors() ([]UserCount, error)
- func DailyUserRequests() ([]UserCount, error)
- func HourlyUserMonitors() ([]UserCount, error)
- func HourlyUserRequests() ([]UserCount, error)
- func MonthlyUserMonitors() ([]UserCount, error)
- func MonthlyUserRequests() ([]UserCount, error)
- func TotalUserMonitors() ([]UserCount, error)
- func TotalUserRequests() ([]UserCount, error)
- func UserMonitors(interval string) ([]UserCount, error)
- func UserRequests(interval string) ([]UserCount, error)
- func UserRequestsOverLimit(limit int) ([]UserCount, error)
- func WeeklyUserMonitors() ([]UserCount, error)
- func WeeklyUserRequests() ([]UserCount, error)
- type UserTime
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AvgResponseTime ¶
func DailyMonitors ¶
func DailyMonitors() ([]database.MonitorRow, error)
func DailyMonitorsCount ¶
func DailyRequests ¶
func DailyRequests() ([]database.RequestRow, error)
func DailyRequestsCount ¶
func DailyUsers ¶
func DailyUsersCount ¶
func DatabaseConnections ¶
func DisplayUserCounts ¶
func DisplayUserCounts(counts []UserCount)
func DisplayUserTimes ¶
func DisplayUserTimes(users []UserTime)
func DisplayUsers ¶
func DisplayUsers(users []User)
func HourlyMonitors ¶
func HourlyMonitors() ([]database.MonitorRow, error)
func HourlyMonitorsCount ¶
func HourlyRequests ¶
func HourlyRequests() ([]database.RequestRow, error)
func HourlyRequestsCount ¶
func HourlyUsers ¶
func HourlyUsersCount ¶
func MonitorsCount ¶
func MonthlyMonitors ¶
func MonthlyMonitors() ([]database.MonitorRow, error)
func MonthlyMonitorsCount ¶
func MonthlyRequests ¶
func MonthlyRequests() ([]database.RequestRow, error)
func MonthlyRequestsCount ¶
func MonthlyUsers ¶
func MonthlyUsersCount ¶
func RequestsColumnSize ¶
func RequestsColumnSize() (requestsColumnSize, error)
func RequestsCount ¶
func TestAvgResponseTime ¶
func TestDailyRequests ¶
func TestDailyRequestsCount ¶
func TestLocations ¶
func TestMonthlyRequests ¶
func TestMonthlyUserRequests ¶
func TestRequests ¶
func TestRequestsCount ¶
func TestTopFrameworks ¶
func TestTopIPAddresses ¶
func TestTopUserAgents ¶
func TestUserRequests ¶
func TestUserRequestsCount ¶
func TestWeeklyRequests ¶
func TestWeeklyRequestsCount ¶
func TestWeeklyUserRequests ¶
func TopFrameworks ¶
func TopIPAddresses ¶
func TopLocations ¶
func TopUserAgents ¶
func TotalMonitors ¶
func TotalMonitors() ([]database.MonitorRow, error)
func TotalMonitorsCount ¶
func TotalRequests ¶
func TotalRequests() ([]database.RequestRow, error)
func TotalRequestsCount ¶
func TotalUsers ¶
func TotalUsersCount ¶
func UsersCount ¶
func WeeklyMonitors ¶
func WeeklyMonitors() ([]database.MonitorRow, error)
func WeeklyMonitorsCount ¶
func WeeklyRequests ¶
func WeeklyRequests() ([]database.RequestRow, error)
func WeeklyRequestsCount ¶
func WeeklyUsers ¶
func WeeklyUsersCount ¶
Types ¶
type User ¶
type UserCount ¶
func DailyUserMonitors ¶
func DailyUserRequests ¶
func HourlyUserMonitors ¶
func HourlyUserRequests ¶
func MonthlyUserMonitors ¶
func MonthlyUserRequests ¶
func TotalUserMonitors ¶
func TotalUserRequests ¶
func UserMonitors ¶
func UserRequests ¶
func UserRequestsOverLimit ¶
func WeeklyUserMonitors ¶
func WeeklyUserRequests ¶
type UserTime ¶
type UserTime struct { APIKey string `json:"api_key"` CreatedAt time.Time `json:"created_at"` Days string `json:"days"` }
func SinceLastRequestUsers ¶
func UnusedUsers ¶
func UnusedUsersNew ¶
Click to show internal directories.
Click to hide internal directories.