Documentation ¶
Index ¶
Constants ¶
View Source
const ( OK = "OK" FAIL = "KO" AuthError = 321 BadAuth = 911 CancelAuthCode = 123 AuthMessage ControlMessageType = iota StreamInfoMessage )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct {
JWT *jwt.JSONWebToken
}
type ControlMessage ¶
type ControlMessage struct { MessageType ControlMessageType Message json.RawMessage }
type ControlMessageCallback ¶
type ControlMessageCallback func(ControlMessage) (bool, error)
type ControlMessageType ¶
type ControlMessageType uint
type StreamInfo ¶
type StreamInfo struct { QuicStreamID quic.StreamID Port string // contains filtered or unexported fields }
func NewStreamInfo ¶
func NewStreamInfo(id quic.StreamID, port string) *StreamInfo
func (*StreamInfo) Done ¶
func (s *StreamInfo) Done()
func (*StreamInfo) Wait ¶
func (s *StreamInfo) Wait()
Click to show internal directories.
Click to hide internal directories.