apns

package
v1.4.13 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package apns provides Apple Push Notification sending.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sender

type Sender interface {
	Send(ctx context.Context, userID, itemID uuid.UUID, title, body string) error
}

Sender delivers APNS notifications for a user's devices.

func NewSender

func NewSender(client *apns2.Client, topic string, mapper userIDMapper, log *logrus.Entry) Sender

NewSender constructs a new APNS sender with a client, topic, mapper and logger.

Jump to

Keyboard shortcuts

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