domain

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PushNotificationExpoResponse

type PushNotificationExpoResponse struct {
	Data   []PushNotificationResponse `json:"data"`
	Errors []map[string]string        `json:"errors"`
}

type PushNotificationExpoServerError

type PushNotificationExpoServerError struct {
	Message      string
	Response     *http.Response
	ResponseData *PushNotificationExpoResponse
	Errors       []map[string]string
}

func (PushNotificationExpoServerError) Error

type PushNotificationMessage

type PushNotificationMessage struct {
	To         []string               `json:"to"`
	Body       string                 `json:"body"`
	Data       map[string]interface{} `json:"data,omitempty"`
	Sound      string                 `json:"sound,omitempty"`
	Title      string                 `json:"title,omitempty"`
	TTLSeconds int                    `json:"ttl,omitempty"`
	Expiration int64                  `json:"expiration,omitempty"`
	Priority   string                 `json:"priority,omitempty"`
	Badge      int                    `json:"badge,omitempty"`
	ChannelID  string                 `json:"channelId,omitempty"`
}

type PushNotificationResponse

type PushNotificationResponse struct {
	PushMessage PushNotificationMessage
	ID          string            `json:"id"`
	Status      string            `json:"status"`
	Message     string            `json:"message"`
	Details     map[string]string `json:"details"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL