slack

package
v0.0.0-...-68da6f5 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SlackAdapter

type SlackAdapter struct {
	*slack.RTM
}

func NewSlackAdapter

func NewSlackAdapter(apiKey string) (*SlackAdapter, error)

func (*SlackAdapter) Receive

func (s *SlackAdapter) Receive(bot *grot.Bot) error

func (*SlackAdapter) Send

func (s *SlackAdapter) Send(res *grot.Response, msg string) error

TODO: allow passing in an interface that defines options to send to the chat source

Jump to

Keyboard shortcuts

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