Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
API provides registration of handlers for API routes.
func New ¶
func New( alerts provider.Alerts, silences *silence.Silences, sf getAlertStatusFn, peer cluster.ClusterPeer, l log.Logger, r prometheus.Registerer, ) *API
New returns a new API.
Click to show internal directories.
Click to hide internal directories.