Documentation ¶
Index ¶
- Constants
- func FromTLSEncryptionLevel(e qtls.QUICEncryptionLevel) protocol.EncryptionLevel
- func SetCipherSuite(id uint16) (reset func())
- func SetupConfigForClient(conf *QUICConfig, getDataForSessionState func() []byte, ...)
- func SetupConfigForServer(conf *QUICConfig, enable0RTT bool, getDataForSessionTicket func() []byte, ...)
- func ToTLSEncryptionLevel(e protocol.EncryptionLevel) qtls.QUICEncryptionLevel
- type AlertError
- type QUICConfig
- type QUICConn
- type QUICEncryptionLevel
- type QUICEvent
- type QUICEventKind
Constants ¶
View Source
const ( QUICEncryptionLevelInitial = qtls.QUICEncryptionLevelInitial QUICEncryptionLevelEarly = qtls.QUICEncryptionLevelEarly QUICEncryptionLevelHandshake = qtls.QUICEncryptionLevelHandshake QUICEncryptionLevelApplication = qtls.QUICEncryptionLevelApplication )
View Source
const ( QUICNoEvent = qtls.QUICNoEvent QUICSetReadSecret = qtls.QUICSetReadSecret QUICSetWriteSecret = qtls.QUICSetWriteSecret QUICWriteData = qtls.QUICWriteData QUICTransportParameters = qtls.QUICTransportParameters QUICTransportParametersRequired = qtls.QUICTransportParametersRequired QUICRejectedEarlyData = qtls.QUICRejectedEarlyData QUICHandshakeDone = qtls.QUICHandshakeDone )
Variables ¶
This section is empty.
Functions ¶
func FromTLSEncryptionLevel ¶ added in v0.37.0
func FromTLSEncryptionLevel(e qtls.QUICEncryptionLevel) protocol.EncryptionLevel
func SetCipherSuite ¶ added in v0.34.0
func SetCipherSuite(id uint16) (reset func())
SetCipherSuite modifies the cipherSuiteTLS13 slice of cipher suites inside qtls such that it only contains the cipher suite with the chosen id. The reset function returned resets them back to the original value.
func SetupConfigForClient ¶ added in v0.37.0
func SetupConfigForClient(conf *QUICConfig, getDataForSessionState func() []byte, setDataFromSessionState func([]byte))
func SetupConfigForServer ¶ added in v0.37.0
func SetupConfigForServer(conf *QUICConfig, enable0RTT bool, getDataForSessionTicket func() []byte, accept0RTT func([]byte) bool)
func ToTLSEncryptionLevel ¶ added in v0.37.0
func ToTLSEncryptionLevel(e protocol.EncryptionLevel) qtls.QUICEncryptionLevel
Types ¶
type AlertError ¶ added in v0.37.0
type AlertError = qtls.AlertError
type QUICConfig ¶ added in v0.37.0
type QUICConfig = qtls.QUICConfig
type QUICConn ¶ added in v0.37.0
type QUICConn = qtls.QUICConn
func QUICClient ¶ added in v0.37.0
func QUICClient(config *QUICConfig) *QUICConn
func QUICServer ¶ added in v0.37.0
func QUICServer(config *QUICConfig) *QUICConn
type QUICEncryptionLevel ¶ added in v0.37.0
type QUICEncryptionLevel = qtls.QUICEncryptionLevel
type QUICEventKind ¶ added in v0.37.0
type QUICEventKind = qtls.QUICEventKind
Click to show internal directories.
Click to hide internal directories.