PTGUnotification

package
v1.0.17 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiscordNotify

func DiscordNotify(webhook DiscordWebhook, param DiscordNotifyInputOption) (err error)

Types

type DiscordNotifyInputOption

type DiscordNotifyInputOption struct {
	Message string
}

type DiscordNotifyRequestBodyDataStruct

type DiscordNotifyRequestBodyDataStruct struct {
	Content string `json:"content"`
}

type DiscordWebhook

type DiscordWebhook struct {
	ID    string
	Token string
}

Jump to

Keyboard shortcuts

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