Update dependencies

This commit is contained in:
Tulir Asokan
2018-08-30 01:10:03 +03:00
parent 5a1a6f9c3c
commit 347854dc8c
5 changed files with 42 additions and 12 deletions

View File

@ -89,6 +89,9 @@ type Conn struct {
Info *Info
Store *Store
ServerLastSeen time.Time
longClientName string
shortClientName string
}
type wsMsg struct {
@ -122,6 +125,9 @@ func NewConn(timeout time.Duration) (*Conn, error) {
msgCount: 0,
msgTimeout: timeout,
Store: newStore(),
longClientName: "github.com/rhymen/go-whatsapp",
shortClientName: "go-whatsapp",
}
go wac.readPump()