Codebase list golang-github-nlopes-slack / a4c5ff8
Fix the outgoingMessages pipe ! Alexandre Bourget authored 8 years ago Norberto Lopes committed 8 years ago
1 changed file(s) with 4 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
3333 // Slack's websocket-based Real-Time Messaging protocol.
3434 func newRTM(api *Client) *RTM {
3535 return &RTM{
36 Client: *api,
37 pings: make(map[int]time.Time),
38 IncomingEvents: make(chan SlackEvent, 50),
36 Client: *api,
37 pings: make(map[int]time.Time),
38 IncomingEvents: make(chan SlackEvent, 50),
39 outgoingMessages: make(chan OutgoingMessage, 20),
3940 }
4041 }
4142