healthy

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package healthy is a bawt plugin that evaluates whether URLs return 200's or not

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Healthy

type Healthy struct {
	// contains filtered or unexported fields
}

Healthy is a struct holding URL's to evaluate

func (*Healthy) ChatHandler

func (healthy *Healthy) ChatHandler(listen *bawt.Listener, msg *bawt.Message)

ChatHandler replies to the end user

func (*Healthy) CheckAll

func (healthy *Healthy) CheckAll() string

CheckAll checks each URL in the struct

func (*Healthy) InitPlugin

func (healthy *Healthy) InitPlugin(bot *bawt.Bot)

InitPlugin loads configuration and listens for new messages

Jump to

Keyboard shortcuts

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