MCPcopy
hub / github.com/sourcegraph/checkup / Notifier

Struct Notifier

notifier/slack/slack.go:17–21  ·  view source on GitHub ↗

Notifier consist of all the sub components required to use Slack API

Source from the content-addressed store, hash-verified

15
16// Notifier consist of all the sub components required to use Slack API
17type Notifier struct {
18 Username string `json:"username"`
19 Channel string `json:"channel"`
20 Webhook string `json:"webhook"`
21}
22
23// New creates a new Notifier instance based on json config
24func New(config json.RawMessage) (Notifier, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected