package
1.0.2
Repository: https://github.com/thucnq/apns2.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
NewPayload returns a new Payload struct.

# Constants

InterruptionLevelActive is used to indicate the importance and delivery timing of a notification.
InterruptionLevelCritical is used to indicate the importance and delivery timing of a notification.
InterruptionLevelPassive is used to indicate that notification be delivered in a passive manner.
InterruptionLevelTimeSensitive is used to indicate the importance and delivery timing of a notification.

# Structs

Payload represents a notification which holds the content that will be marshalled as JSON.

# Type aliases

InterruptionLevel defines the value for the payload aps interruption-level.