Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
AuthKeyPath string
KeyID string
TeamID string
BundleID string
Production bool
}
Config holds APNs configuration.
type Sender ¶
type Sender struct {
// contains filtered or unexported fields
}
Sender sends push notifications to iOS devices via APNs.
func NewSender ¶
func NewSender(cfg *Config, tracerProvider tracing.TracerProvider, logger logging.Logger) (*Sender, error)
NewSender creates an APNs sender from config.
Click to show internal directories.
Click to hide internal directories.