Documentation ¶
Index ¶
- Constants
- func FromTLSEncryptionLevel(e tls.QUICEncryptionLevel) protocol.EncryptionLevel
- func SetupConfigForClient(qconf *QUICConfig, getData func() []byte, setData func([]byte))
- func SetupConfigForServer(qconf *QUICConfig, _ bool, getData func() []byte, accept0RTT func([]byte) bool)
- func ToTLSEncryptionLevel(e protocol.EncryptionLevel) tls.QUICEncryptionLevel
- type AlertError
- type QUICConfig
- type QUICConn
- type QUICEncryptionLevel
- type QUICEvent
- type QUICEventKind
- type UQUICConn
Constants ¶
View Source
const ( QUICEncryptionLevelInitial = tls.QUICEncryptionLevelInitial QUICEncryptionLevelEarly = tls.QUICEncryptionLevelEarly QUICEncryptionLevelHandshake = tls.QUICEncryptionLevelHandshake QUICEncryptionLevelApplication = tls.QUICEncryptionLevelApplication )
View Source
const ( QUICNoEvent = tls.QUICNoEvent QUICSetReadSecret = tls.QUICSetReadSecret QUICSetWriteSecret = tls.QUICSetWriteSecret QUICWriteData = tls.QUICWriteData QUICTransportParameters = tls.QUICTransportParameters QUICTransportParametersRequired = tls.QUICTransportParametersRequired QUICRejectedEarlyData = tls.QUICRejectedEarlyData QUICHandshakeDone = tls.QUICHandshakeDone )
Variables ¶
This section is empty.
Functions ¶
func FromTLSEncryptionLevel ¶
func FromTLSEncryptionLevel(e tls.QUICEncryptionLevel) protocol.EncryptionLevel
func SetupConfigForClient ¶
func SetupConfigForClient(qconf *QUICConfig, getData func() []byte, setData func([]byte))
func SetupConfigForServer ¶
func SetupConfigForServer(qconf *QUICConfig, _ bool, getData func() []byte, accept0RTT func([]byte) bool)
func ToTLSEncryptionLevel ¶
func ToTLSEncryptionLevel(e protocol.EncryptionLevel) tls.QUICEncryptionLevel
Types ¶
type AlertError ¶
type AlertError = tls.AlertError
type QUICConfig ¶
type QUICConfig = tls.QUICConfig
type QUICConn ¶
func QUICClient ¶
func QUICClient(config *QUICConfig) *QUICConn
func QUICServer ¶
func QUICServer(config *QUICConfig) *QUICConn
type QUICEncryptionLevel ¶
type QUICEncryptionLevel = tls.QUICEncryptionLevel
type QUICEventKind ¶
type QUICEventKind = tls.QUICEventKind
type UQUICConn ¶
func UQUICClient ¶
func UQUICClient(config *QUICConfig, clientHelloSpec *tls.ClientHelloSpec) *UQUICConn
[UQUIC]
Click to show internal directories.
Click to hide internal directories.