Versions in this module Expand all Collapse all v0 v0.2.0 Mar 11, 2026 Changes in this version type Frame + Event string v0.1.0 Mar 10, 2026 Changes in this version + const BinaryMessage + const TextMessage + var ErrConnectionClosed = errors.New("wspulse: connection is closed") + var ErrSendBufferFull = errors.New("wspulse: send buffer full, frame dropped") + type Codec interface + Decode func(data []byte) (Frame, error) + Encode func(f Frame) ([]byte, error) + FrameType func() int + var JSONCodec Codec = jsonCodec{} + type Frame struct + ID string + Payload []byte + Type string