Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface { Send(token string, title string, message string) ProviderSendResponse SendMulticast(tokens []string, title, message string) []ProviderSendResponse GetProviderType() ProviderType }
type ProviderSendResponse ¶
type ProviderType ¶
type ProviderType string
const ( ProviderTypeFCM ProviderType = "fcm" ProviderTypeAPN ProviderType = "apn" )
type Service ¶
func (*Service) GetProviderCount ¶
func (*Service) RegisterProvider ¶
func (*Service) ResetProviders ¶
func (s *Service) ResetProviders()
Click to show internal directories.
Click to hide internal directories.