interfaces

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: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HOST         = "https://exp.host"
	BASE_API_URI = "/--/api/v2"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	AccessToken string
	ApiUri      string
	Host        string
	HttpClient  *http.Client
}

func PushNotificationClient

func PushNotificationClient(config *Config) *Config

func (*Config) Send

Sends a single push notification

func (*Config) SendMultiple

func (cC *Config) SendMultiple(messages []domain.PushNotificationMessage) ([]domain.PushNotificationResponse, error)

Sends multiple push notification

Jump to

Keyboard shortcuts

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