Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 729 Bytes

README.md

File metadata and controls

32 lines (26 loc) · 729 Bytes

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