senders

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ChannelTypeDingtalk = "dingtalk"
)
View Source
const (
	ChannelTypeDiscordWebhook = "discord-webhook"
)
View Source
const (
	ChannelTypeFeishu = "feishu"
)
View Source
const (
	ChannelTypeSlack = "slack"
)
View Source
const (
	ChannelTypeWeixin = "weixin"
)
View Source
const (
	ChannelTypeWeixinApp = "weixinapp"
)

Variables

View Source
var ChannelsSenderCreatorMap = map[string]ChannelSenderCreator{}

Functions

func RegisterChannelsSenderCreator

func RegisterChannelsSenderCreator(channel string, creator ChannelSenderCreator)

Types

type ChannelSenderCreator

type ChannelSenderCreator func(request *restful.Request) (models.Sender, error)

Jump to

Keyboard shortcuts

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