Since the Go language natively support a fairly advanced template engine why not allow for "plugins" to be created using templates alone?
https://push.example.de/message?token=&template=github-webhook
Gotify would then parse the incomming JSON and apply the "github-webhook" template.
This would allow for an easy way of using webhooks and quickly parsing out one or two fields.
Just my two cents # #