WebSocket ping error added
This commit is contained in:
parent
b1379b99fc
commit
16787d3a9a
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue