Versions in this module Expand all Collapse all v0 v0.20.5 Dec 19, 2022 v0.20.4 Dec 19, 2022 Changes in this version + const ActMsg + const ActRead + const ActSub + const MaxPayloadLength + func ChannelSub(msg *ChannelReq) + func Init(jsconfig json.RawMessage) ([]string, error) + func Push(msg *Receipt) + func Register(name string, hnd Handler) + func Stop() + type ChannelReq struct + Channel string + DeviceID string + Uid t.Uid + Unsub bool + type Handler interface + Channel func() chan<- *ChannelReq + Init func(jsonconf json.RawMessage) (bool, error) + IsReady func() bool + Push func() chan<- *Receipt + Stop func() + type Payload struct + Content interface{} + ContentType string + From string + ModeGiven t.AccessMode + ModeWant t.AccessMode + Replace string + SeqId int + Silent bool + Timestamp time.Time + Topic string + Webrtc string + What string + type Receipt struct + Channel string + Payload Payload + To map[t.Uid]Recipient + type Recipient struct + Delivered int + Devices []string + Unread int