slack

package
v0.0.0-...-59724a3 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2015 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Slack

type Slack struct {
	Api *slacklib.Client
	Rtm *slacklib.RTM
	// contains filtered or unexported fields
}

/

func New

func New(config *config.JanusConfig) *Slack

func (*Slack) ChannelLoop

func (s *Slack) ChannelLoop() error

Periodically update Channel-list

func (*Slack) Connect

func (s *Slack) Connect() error

func (*Slack) MessageLoop

func (s *Slack) MessageLoop() error

type SlackApp

type SlackApp struct {
	gangsta.App
	Event *SlackEvent
}

type SlackEvent

type SlackEvent struct {
	Xxx string
}

func (*SlackEvent) Write

func (e *SlackEvent) Write(p []byte) (n int, err error)

io.Writer compotible writer for

Jump to

Keyboard shortcuts

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