webapp

package
v0.0.0-...-02dbcf3 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2014 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Kaomoji = []string{
	"(; ・∀・)",
	"(~_~;)",
	"(-_-;)",
	"?(°_°>)",
	"Σ( ̄□ ̄;)",
	"( `・ω・´)",
	"m9( ゚д゚)",
}

Functions

func HubotSlackWebhook

func HubotSlackWebhook(c web.C, _ http.ResponseWriter, r *http.Request)

func Send

func Send(botName, channelID, msg string)

Types

type Message

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

type OutgoingMessage

type OutgoingMessage struct {
	Channel  string `json:"channel"`
	Username string `json:"username"`
	Text     string `json:"text"`
}

Jump to

Keyboard shortcuts

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