Versions in this module Expand all Collapse all v0 v0.1.0 Nov 2, 2021 Changes in this version + const FcmSendEndpoint + type Message struct + CollapseKey string + Data map[string]interface{} + DelayWhileIdle bool + DryRun bool + Priority string + RegistrationIDs []string + RestrictedPackageName string + TimeToLive int + func NewMessage(data map[string]interface{}, priority Priority, regIDs ...string) *Message + type Priority int + const PriorityHigh + const PriorityNormal + func (priority Priority) String() string + type Response struct + CanonicalIDs int + Failure int + MulticastID int64 + Results []Result + Success int + type Result struct + Error string + MessageID string + RegistrationID string + type Sender struct + ApiKey string + Http *http.Client + func (s *Sender) Send(msg *Message, retries int) (*Response, error) + func (s *Sender) SendNoRetry(msg *Message) (*Response, error)