Documentation ¶
Index ¶
- func GetNotificationProvider(typ string, clientId string, clientSecret string, clientId2 string, ...) (notify.Notifier, error)
- func NewLarkProvider(webhookURL 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 ¶
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.