Documentation ¶
Index ¶
- func GetNotificationProvider(typ string, clientId string, clientSecret string, clientId2 string, ...) (notify.Notifier, error)
- func NewBarkProvider(deviceKey string) (notify.Notifier, error)
- func NewDingTalkProvider(token string, secret string) (notify.Notifier, error)
- func NewDiscordProvider(token string, channelId string) (*notify.Notify, error)
- func NewGoogleChatProvider(credentials string) (*notify.Notify, error)
- func NewLarkProvider(webhookURL string) (notify.Notifier, error)
- func NewLineProvider(channelSecret string, accessToken string, receiver string) (*notify.Notify, error)
- func NewMatrixProvider(userId string, accessToken string, roomId string, homeServer string) (*notify.Notify, error)
- func NewMicrosoftTeamsProvider(webhookURL string) (notify.Notifier, error)
- func NewPushbulletProvider(apiToken string, deviceNickname string) (notify.Notifier, error)
- func NewPushoverProvider(appToken string, recipientID string) (notify.Notifier, error)
- func NewRedditProvider(clientId string, clientSecret string, username string, password string, ...) (notify.Notifier, error)
- func NewRocketChatProvider(clientId string, clientSecret string, endpoint string, channelName string) (notify.Notifier, error)
- func NewSlackProvider(apiToken string, channelID string) (*notify.Notify, error)
- func NewTelegramProvider(apiToken string, chatIdStr string) (notify.Notifier, error)
- func NewTwitterProvider(consumerKey string, consumerSecret string, accessToken string, ...) (*notify.Notify, error)
- func NewViberProvider(senderName string, appKey string, webhookURL string, receiverId string) (notify.Notifier, error)
- func NewWebpushProvider(publicKey string, privateKey string, endpoint string) (*notify.Notify, error)
- type HttpNotificationClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNotificationProvider ¶
func NewDingTalkProvider ¶
func NewDiscordProvider ¶
func NewLineProvider ¶
func NewMatrixProvider ¶
func NewPushbulletProvider ¶
func NewPushoverProvider ¶
func NewRedditProvider ¶
func NewRocketChatProvider ¶
func NewSlackProvider ¶
func NewTelegramProvider ¶
func NewTwitterProvider ¶
func NewViberProvider ¶
Types ¶
type HttpNotificationClient ¶
type HttpNotificationClient struct {
// contains filtered or unexported fields
}
func NewCustomHttpProvider ¶
func NewCustomHttpProvider(endpoint string, method string, paramName string) (*HttpNotificationClient, error)
Click to show internal directories.
Click to hide internal directories.