Documentation ¶
Index ¶
- Constants
- func CreateFcmSender(body string, doneC chan bool, to time.Duration) (connector.Sender, error)
- func New(router router.Router, sender connector.Sender, config Config) (connector.ResponsiveConnector, error)
- func NewSender(apiKey string) *sender
- func NewSenderWithMock(gcmSender gcm.Sender) *sender
- type Config
- type FCMSender
Constants ¶
View Source
const ( SuccessFCMResponse = `` /* 208-byte string literal not displayed */ ErrorFCMResponse = `` /* 277-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
func CreateFcmSender ¶
func New ¶
func New(router router.Router, sender connector.Sender, config Config) (connector.ResponsiveConnector, error)
New creates a new *fcm and returns it as an connector.ResponsiveConnector
func NewSenderWithMock ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.