apns

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var APNS_PARAMS_COUNT = 5

Functions

This section is empty.

Types

type Apns

type Apns struct {
	Topic  string
	Client *apns2.Client
}

func (*Apns) Debug

func (a *Apns) Debug(enable bool)

enable or disable debug output

func (*Apns) PushNotification

func (a *Apns) PushNotification(msg *push.Notification) (MsgID string, err error)

push message to device

Jump to

Keyboard shortcuts

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