server

package
v0.0.0-...-a8af4e8 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2016 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Send chan *requests.Result

Buffered channel of outbound messages.

Functions

func Init

func Init()

func SendToSlack

func SendToSlack(dispatcher requests.Dispatcher)

Types

type Message

type Message struct {
	Text string `json:"text"`
}

type ResultMessage

type ResultMessage struct {
	Ts         int64
	Avg        string
	Max        string
	Min        string
	Rps        string
	LastResult string
}

Jump to

Keyboard shortcuts

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