Documentation ¶
Index ¶
Constants ¶
View Source
const TLSMaxRecordSize = 65535 // max uint16
Variables ¶
This section is empty.
Functions ¶
func ReleaseRecord ¶
func ReleaseRecord(r *Record)
Types ¶
type Record ¶
func AcquireRecord ¶
func AcquireRecord() *Record
type Type ¶
type Type uint8
const ( // TypeChangeCipherSpec defines a byte value of the TLS record when a // peer wants to change a specifications of the chosen cipher. TypeChangeCipherSpec Type = 0x14 // TypeHandshake defines a byte value of the TLS record when a peer // initiates a new TLS connection and wants to make a handshake // ceremony. TypeHandshake Type = 0x16 // TypeApplicationData defines a byte value of the TLS record when a // peer sends an user data, not a control frames. TypeApplicationData Type = 0x17 )
Click to show internal directories.
Click to hide internal directories.