Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAPIHandler ¶
NewAPIHandler returns a new http.Handler that handles requests to the api
Types ¶
type ProviderStatsResp ¶
type ProviderStatsResp struct { TotalProvides uint64 `json:"totalProvides"` LastReprovideBatchSize uint64 `json:"lastReprovideBatchSize"` AvgProvideDuration time.Duration `json:"avgProvideDuration"` LastReprovideDuration time.Duration `json:"lastReprovideDuration"` }
The ProviderStatsResp struct is used to return stats about the reprovider system.
Click to show internal directories.
Click to hide internal directories.