senderConfig

package
v0.0.0-...-d6725e5 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

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"`
}

Jump to

Keyboard shortcuts

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