Documentation ¶
Index ¶
Constants ¶
View Source
const SupportedWebhookVersion = "4"
SupportedWebhookVersion is the alert webhook data version that is supported by this app
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Args ¶
type Args struct { MetricsPath string Address string ConfigFilename string Messenger internal.Messenger Concurrency int }
Args are the arguments for building a new server
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents a web server that processes webhooks
func (*Server) LoadConfiguration ¶
LoadConfiguration reloads the configuration file
Click to show internal directories.
Click to hide internal directories.