Documentation
¶
Index ¶
- Constants
- func FreeBytes(b []byte)
- func GetExtensionBlock(data []byte) ([]byte, error)
- func GetGID() uint64
- func GetSNBlock(data []byte) ([]byte, error)
- func GetSNIBlock(data []byte) ([]byte, error)
- func NewBytes(size int) []byte
- func ParseHost(data []byte) string
- func SetBufferPool(p *sync.Pool)
- type LogLevel
- type LogOutputFunc
- type Logger
- func (l *Logger) Debugf(msg string, args ...interface{})
- func (l *Logger) Errorf(msg string, args ...interface{})
- func (l *Logger) Fatalf(msg string, args ...interface{})
- func (l *Logger) Infof(msg string, args ...interface{})
- func (l *Logger) InitParam(level LogLevel, of LogOutputFunc)
- func (l *Logger) SetLevel(level LogLevel)
- func (l *Logger) SetOutput(oFunc LogOutputFunc)
- func (l *Logger) Warnf(msg string, args ...interface{})
Constants ¶
View Source
const BufSize = 1 << 12
View Source
const (
TLSHeaderLength = 5
)
Variables ¶
This section is empty.
Functions ¶
func GetExtensionBlock ¶ added in v1.1.17
func GetSNBlock ¶ added in v1.1.17
func GetSNIBlock ¶ added in v1.1.17
func SetBufferPool ¶
Types ¶
type LogOutputFunc ¶
Click to show internal directories.
Click to hide internal directories.