alert

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendEmail

func SendEmail(c *gin.Context)

@Tags alert @Summary send email @Accept application/json @Param token body string true "token" @Param config body string false "optional config" @Param toAddrs body string true "to addrs" @Param ccAddrs body string true "cc addrs" @Param content body string true "to content" @Produce application/json @Success 200 {string} string "{"message": "sending email completed successfully"}" @Router /api/v1/alert/email [post]

Types

This section is empty.

Jump to

Keyboard shortcuts

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