events

package
v0.0.0-...-287d054 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ResponseEvent = "slackbot.response"
)

Variables

View Source
var Bot bot // export Bot
View Source
var Slack slack // export Slack

Functions

This section is empty.

Types

type Command

type Command struct {
	Cmd     string `json:"cmd,omitempty"`
	Args    string `json:"args,omitempty"`
	Author  string `json:"author,omitempty"`
	Channel string `json:"channel,omitempty"`
}

type Message

type Message struct {
	Channel string `json:"channel,omitempty"`
	Text    string `json:"text,omitempty"`
}

Message, start simple.

Jump to

Keyboard shortcuts

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