Versions in this module Expand all Collapse all v1 v1.1.1 Nov 16, 2018 v1.1.0 Oct 1, 2018 Changes in this version + const ABORT + const COOKIEACK + const COOKIEECHO + const CWR + const ERROR + const HEARTBEAT + const HEARTBEATACK + const INIT + const INITACK + const PAYLOADDATA + const SACK + const SHUTDOWN + const SHUTDOWNACK + const SHUTDOWNCOMPLETE + type Association struct + func NewAssocation(outboundHandler func([]byte), ...) *Association + func (a *Association) Close() error + func (a *Association) Connect() + func (a *Association) HandleInbound(raw []byte) error + func (a *Association) HandleOutbound(raw []byte, streamIdentifier uint16, payloadType PayloadProtocolIdentifier) error + func (a *Association) Start(isInitiating bool) + type AssociationState uint8 + const CookieEchoed + const CookieWait + const Established + const Open + const ShutdownAckSent + const ShutdownPending + const ShutdownReceived + const ShutdownSent + func (a AssociationState) String() string + type PayloadProtocolIdentifier uint32 + const PayloadTypeWebRTCBinary + const PayloadTypeWebRTCBinaryEmpty + const PayloadTypeWebRTCDCEP + const PayloadTypeWebRTCString + const PayloadTypeWebRTCStringEmpty + func (p PayloadProtocolIdentifier) String() string