Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BufferPool = sync.Pool{ New: func() any { return bytes.NewBuffer(make([]byte, 0, 256)) }, }
BufferPool is a sync.Pool for buffers used to write compressed data to.
Functions ¶
This section is empty.
Types ¶
type DiscardHandler ¶
type DiscardHandler struct{}
DiscardHandler implements a slog.Handler that is always disabled. Each of its methods return immediately without any code running.
Click to show internal directories.
Click to hide internal directories.