gosocketio/vendor/github.com/googollee/go-socket.io/parser/errors.go

14 lines
319 B
Go
Raw Permalink Normal View History

2023-11-30 17:38:20 +08:00
package parser
import "errors"
var (
ErrInvalidPacketType = errors.New("invalid packet type")
errInvalidBinaryBufferType = errors.New("buffer packet should be binary")
errInvalidFirstPacketType = errors.New("first packet should be text frame")
errFailedBufferAddress = errors.New("can't get Buffer address")
)