ping

command module
v0.0.0-...-81c1d7b Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2021 License: MIT Imports: 9 Imported by: 0

README

ping

Call http service. When not 200 ok then sent to telegram.

ping.settings.json

{
    "token":"1 YOUR SUPER SECRET TOKEN 0",
    "chats":[121,1222],
    "urls":[{
		"url": "https://yandex.ru/",
		"name": "yandex"
		},
		{
		"url": "http://localhost:8676/ping",
		"name": "capserver"
		}
	]
}

How to get chat id

  1. run ping
  2. Write something to bot
  3. get your chat id from console

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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