Send message anywhere
go get github.com/farwydi/gotify
Setup with proxy
package main
import (
"github.com/farwydi/gotify"
"github.com/farwydi/gotify/telegram"
"github.com/go-resty/resty/v2"
)
func main() {
client, _ := gotify.NewClient(
telegram.NewTelegramAdapterWithHttp(
"token", 1414, resty.New().
SetProxy("http://proxyserver:8888"),
),
)
client.Send("title")
}