Versions in this module Expand all Collapse all v0 v0.2.4 Apr 29, 2021 Changes in this version + func CheckCloseFrameData(code ws.StatusCode, reason string) error + func HandleClose(h *ws.Header, payload []byte) ([]byte, error) + func HandlePing(payload []byte) ([]byte, error) + func HandlePong(payload []byte) ([]byte, error) + func PackCloseData(reason string) ([]byte, error) + func PackData(messageType ws.MessageType, data []byte) ([]byte, error)