apns

package module
v1.0.87 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package apns - Apple push notification

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAPNSToken

func GetAPNSToken() (*apnsToken.Token, error)

GetAPNSToken - Get APNS token from vault

func SendAPNS

func SendAPNS(config Config) error

SendAPNS - Send push notification

Types

type Config

type Config struct {
	ApnsToken   *apnsToken.Token
	DeviceToken string
	Topic       string
	Payload     []byte
}

Config - APNS configuration Class

Jump to

Keyboard shortcuts

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