discordV2

package
v0.0.0-...-69ce26b Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BLUE_ALERT = 0x1e40af // metrics
View Source
var GREEN_ALERT = 0x2eb886 // sessions
View Source
var ORANGE_ALERT = 0xf2994a // traces
View Source
var PURPLE_ALERT = 0x7e5bef // events
View Source
var RED_ALERT = 0x961e13 // errors
View Source
var YELLOW_ALERT = 0xf2c94c // logs

Functions

func SendAlerts

func SendAlerts(ctx context.Context, discordGuildId *string, alertInput *destinationsV2.AlertInput, destinations []model.AlertDestination)

func SendNotifications

func SendNotifications(ctx context.Context, discordGuildId *string, notificationInput destinationsV2.NotificationInput, destinations []model.AlertDestination)

Types

This section is empty.

Jump to

Keyboard shortcuts

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