Update vendor, move to labstack/echo/v4 Fixes #698
This commit is contained in:
4
vendor/github.com/nlopes/slack/websocket.go
generated
vendored
4
vendor/github.com/nlopes/slack/websocket.go
generated
vendored
@@ -39,8 +39,6 @@ type RTM struct {
|
||||
wasIntentional bool
|
||||
isConnected bool
|
||||
|
||||
websocketURL string
|
||||
|
||||
// UserDetails upon connection
|
||||
info *Info
|
||||
|
||||
@@ -103,7 +101,7 @@ func (rtm *RTM) SendMessage(msg *OutgoingMessage) {
|
||||
}
|
||||
|
||||
func (rtm *RTM) resetDeadman() {
|
||||
timerReset(rtm.pingDeadman, deadmanDuration(rtm.pingInterval))
|
||||
rtm.pingDeadman.Reset(deadmanDuration(rtm.pingInterval))
|
||||
}
|
||||
|
||||
func deadmanDuration(d time.Duration) time.Duration {
|
||||
|
||||
Reference in New Issue
Block a user