notification

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendErrorNotification

func SendErrorNotification(channelItem *ent.Channel, vodItem *ent.Vod, qItem *ent.Queue, failedTask string)

func SendLiveArchiveSuccessNotification

func SendLiveArchiveSuccessNotification(channelItem *ent.Channel, vodItem *ent.Vod, qItem *ent.Queue)

func SendLiveNotification

func SendLiveNotification(channelItem *ent.Channel, vodItem *ent.Vod, qItem *ent.Queue)

func SendVideoArchiveSuccessNotification

func SendVideoArchiveSuccessNotification(channelItem *ent.Channel, vodItem *ent.Vod, qItem *ent.Queue)

Types

type WebhookRequestBody

type WebhookRequestBody struct {
	Content string `json:"content"`
	Body    string `json:"body"`
}

Jump to

Keyboard shortcuts

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