Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MsgLenFieldSize is the byte size of the frame length field of a // framed message. MsgLenFieldSize = 4 // The bytes size limit for a ALTS record message. RecordLengthLimit = 1024 * 1024 // 1 MiB // The default bytes size of a ALTS record message. RecordDefaultLength = 4 * 1024 // 4KiB // The initial write buffer size. WriteBufferInitialSize = 32 * 1024 // 32KiB // The maximum write buffer size. This *must* be multiple of // altsRecordDefaultLength. WriteBufferMaxSize = 512 * 1024 // 512KiB )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ProtocolAEAD ¶
type ProtocolAEAD struct{}
func NewAEAD ¶
func NewAEAD() ProtocolAEAD
Click to show internal directories.
Click to hide internal directories.