Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Statistics ¶ added in v0.1.4
type Statistics struct { UpSince time.Time TotalCount int SuccessfulCounter int FailedCounter int AverageResponseTime float64 }
Statistics includes stats of all requests handled by the api.
func GetStatistics ¶
func GetStatistics() (Statistics, error)
GetStatistics returns the current statistics.
Click to show internal directories.
Click to hide internal directories.