messagebird / sachet

SMS alerts for Prometheus' Alertmanager

Home Page:https://www.messagebird.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Move providers to their own packages

marcelcorso opened this issue · comments

Right now all providers' code lives on the "sachet" package. This doesn't scale well.

For example different providers may want to implement a Request method like turbosms did here

But since they are all on the same package there will be name collisions. We can try to prevent providers from doing so and stick to methods on the "provider" structs like we do on the MessageBird's but using language features is easier and better.