Skip to content

farwydi/gotify

Repository files navigation

Build Status codecov

gotify

Send message anywhere

Install

go get github.com/farwydi/gotify

Adapters

Telegram

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")
}

About

Send message anywhere

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages