rtm

package
v0.0.0-...-f7150da Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2015 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoopForever

func LoopForever(token string, onMessage func(Message, chan Message)) error

Types

type Message

type Message map[string]interface{}

func NewResponse

func NewResponse(msg Message, text string) Message

func (Message) String

func (m Message) String() string

type Stream

type Stream struct {
	Input  chan Message
	Output chan Message
	// contains filtered or unexported fields
}

func Connect

func Connect(token string) (s *Stream, err error)

func (*Stream) Close

func (s *Stream) Close() error

Jump to

Keyboard shortcuts

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