notifier

package
v0.0.0-...-048b661 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiscordClient

type DiscordClient struct {
	// contains filtered or unexported fields
}

func NewDiscordClient

func NewDiscordClient(webhookURL string) *DiscordClient

func (*DiscordClient) Post

func (c *DiscordClient) Post(msg *DiscordMessage) error

type DiscordMessage

type DiscordMessage struct {
	Username string `json:"username"`
	Content  string `json:"content"`
}

Jump to

Keyboard shortcuts

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