Documentation
¶
Index ¶
- type Action
- type Config
- type Options
- type Platform
- func (this *Platform) FCM() Action
- func (this *Platform) GetAllPlatform() []Action
- func (this *Platform) Slack() Action
- func (this *Platform) Telegram() Action
- func (this *Platform) WrapToContext(ctx context.Context) context.Context
- func (this *Platform) WrapToHandler(next http.Handler) http.Handler
- type Platforms
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Telegram *telegram.TelegramConfig `yaml:"telegram"`
Slack *slackpkg.SlackConfig `yaml:"slack"`
FCM *fcmpkg.FCMConfig `yaml:"fcm"`
}
type Options ¶ added in v2.12.0
type Options func(platform *Platform)
func ActivateFirebase ¶ added in v2.43.13
func ActivateSlack ¶ added in v2.12.0
func ActivateTelegram ¶ added in v2.12.0
type Platform ¶
type Platform struct {
// contains filtered or unexported fields
}
func (*Platform) GetAllPlatform ¶
func (*Platform) WrapToContext ¶ added in v2.8.6
Click to show internal directories.
Click to hide internal directories.