manage

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateMailUser

func CreateMailUser(ctx *macaron.Context) string

func CreateSlackChannel

func CreateSlackChannel(ctx *macaron.Context) string

func Mail

func Mail(ctx *macaron.Context) string

region 邮件

func RemoveMailUser

func RemoveMailUser(ctx *macaron.Context) string

func RemoveSlackChannel

func RemoveSlackChannel(ctx *macaron.Context) string

func Slack

func Slack(ctx *macaron.Context) string

func UpdateMail

func UpdateMail(ctx *macaron.Context, form MailServerForm) string

func UpdateSlack

func UpdateSlack(ctx *macaron.Context) string

func UpdateWebHook

func UpdateWebHook(ctx *macaron.Context) string

func WebHook

func WebHook(ctx *macaron.Context) string

Types

type MailServerForm

type MailServerForm struct {
	Host     string `binding:"Required;MaxSize(100)"`
	Port     int    `binding:"Required;Range(1-65535)"`
	User     string `binding:"Required;MaxSize(64);Email"`
	Password string `binding:"Required;MaxSize(64)"`
}

Jump to

Keyboard shortcuts

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