WebSocket ping error added

This commit is contained in:
Alexey Skobkin 2017-08-22 01:21:02 +03:00
parent b1379b99fc
commit 16787d3a9a

View file

@ -19,6 +19,7 @@ var (
ErrAuthNeeded = errors.New("point-api: Authentication needed") ErrAuthNeeded = errors.New("point-api: Authentication needed")
ErrNoNextPage = errors.New("point-api: Page has next_page: false") ErrNoNextPage = errors.New("point-api: Page has next_page: false")
ErrAuthorPrivacy = errors.New("point-api: Post author privacy error") ErrAuthorPrivacy = errors.New("point-api: Post author privacy error")
ErrWebSocketPing = errors.New("point-api: WebSocket ping received instead of message")
) )
type PointClient struct { type PointClient struct {