Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FCMConfig ¶
type FCMConfig struct { // Should be the content of service account or refresh token JSON credentials you got from Google. Credential string `json:"credential" jsonschema:"required,title=Firebase messaging credential json"` }
type TelegramConfig ¶
type TelegramConfig struct { // Bot token from @BotFather BotToken string `json:"bot_token" jsonschema:"required,title=Telegram bot token"` }
type WebPushConfig ¶
type WebPushConfig struct { // The public key of the VAPID key pair. Read webpush documentation for more information. VAPIDPublicKey string `json:"vapid_public_key" jsonschema:"required,title=VAPID Public Key"` // The private key of the VAPID key pair. Read webpush documentation for more information. VAPIDPrivateKey string `json:"vapid_private_key" jsonschema:"required,title=VAPID Private Key"` // The mail address of the sender. Mailto string `json:"mail_to" jsonschema:"required,title=Mail to,format=email"` }
Click to show internal directories.
Click to hide internal directories.