Documentation
¶
Index ¶
Constants ¶
View Source
const ( PullInterval = "2h" PushInterval = "30s" MetricsInterval = "30m" )
Variables ¶
This section is empty.
Functions ¶
func AlertToSignal ¶
func AlertToSignal(alert *models.Alert) *models.AddSignalsRequestItem
func CustomRecoveryWithWriter ¶ added in v1.0.12
func CustomRecoveryWithWriter() gin.HandlerFunc
RecoveryWithWriter returns a middleware for a given writer that recovers from any panics and writes a 500 if there was one.
Types ¶
type APIServer ¶
func (*APIServer) AttachPluginBroker ¶ added in v1.2.0
func (s *APIServer) AttachPluginBroker(broker *csplugin.PluginBroker)
func (*APIServer) InitController ¶ added in v1.2.0
Click to show internal directories.
Click to hide internal directories.