discord

package
v0.21.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func With

func With(webhookURL string, opts ...Option) alertmanager.ContactPointOption

With creates an Opsgenie contact point type with the given settings.

Types

type Option

type Option func(contactType *discordType)

Option represents an option that can be used to configure a "discord" contact point type.

func UseDiscordUsername

func UseDiscordUsername() Option

UseDiscordUsername uses the username configured in Discord's webhook settings. Otherwise, the username will be 'Grafana'.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL