telegrambotnotify

package module
v0.0.0-...-f523e52 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

README

telegrambot-notify

Notification lib to be used as companion to telegrambot

Sample use case

func TestNotify(t *testing.T) {

	Init("https://url/pub", "yourkey")

	for i := 0; i < 10; i++ {
		Notify("a", "Some from test")
	}

}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(nurl string, napikey string)

func Notify

func Notify(ch string, msg string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL