Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶ added in v1.2.0
type API struct {
// contains filtered or unexported fields
}
API defines handler functions for receiving Alertmanager endpoints.
func NewInRouter ¶
func NewInRouter(logger log.FieldLogger, r *mux.Router, ch chan<- *alertmanager.Webhook) *API
NewInRouter creates new API instance which will register its handlers in the given router.
Click to show internal directories.
Click to hide internal directories.