Apple push notification services

This commit is contained in:
2024-06-07 00:15:43 +08:00
parent 6a37ee4487
commit b925d54000
9 changed files with 104 additions and 30 deletions

View File

@@ -49,6 +49,9 @@ func main() {
if err := services.SetupFirebase(); err != nil {
log.Error().Err(err).Msg("An error occurred when connecting firebase...")
}
if err := services.SetupAPNS(); err != nil {
log.Error().Err(err).Msg("An error occurred when connecting APNs...")
}
if err := grpc.ConnectPaperclip(); err != nil {
log.Fatal().Err(err).Msg("An error occurred when connecting to paperclip...")
}