xmtp / example-notification-server-go

Example push notification server, written in Golang
MIT License
15 stars 8 forks source link

Add Push Delivery And Refactor #6

Closed neekolas closed 1 year ago

neekolas commented 1 year ago

Summary

Notes

I realized the server abstraction wasn't really helping much. The API server and the XMTP Listener were really two separate concerns, so I broke them apart. This will make it easier to run the API and the listener as separate processes, since we can more easily validate configuration for one use-case or another. For example, I really don't need the APNS configuration to be well specified when only running the API server. And I don't need to configure a port when only running the listener.