Documentation
¶
Index ¶
Constants ¶
View Source
const (
TOKEN_AUTHORIZE = "TOKEN_AUTHORIZE"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Notification ¶
type Notification interface { SendNotification(*fcm.Message) (*fcm.Response, error) SendNotificationWithRetry(message *fcm.Message, retries int) (*fcm.Response, error) }
func NewService ¶
func NewService(apiKey string) Notification
type NotificationDto ¶
type NotificationDto map[string]interface{}
func CreateTokenAuthorizeNotificationDto ¶
func CreateTokenAuthorizeNotificationDto(authorizationId string) NotificationDto
type NotificationService ¶
type NotificationService struct {
// contains filtered or unexported fields
}
func (*NotificationService) SendNotification ¶
func (s *NotificationService) SendNotification(message *fcm.Message) (*fcm.Response, error)
func (*NotificationService) SendNotificationWithRetry ¶
func (s *NotificationService) SendNotificationWithRetry(message *fcm.Message, retries int) (*fcm.Response, error)
Click to show internal directories.
Click to hide internal directories.