Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func STDDeflate ¶
Types ¶
type DefaultPostingPolicy ¶
type DefaultPostingPolicy struct{}
func (DefaultPostingPolicy) Decide ¶
func (d DefaultPostingPolicy) Decide(groups [][]byte, lines, length int64) PostingDecision
type DeflateFunction ¶
func NewDeflateFunction ¶
func NewDeflateFunction(level int) DeflateFunction
func (DeflateFunction) Def ¶
func (d DeflateFunction) Def() DeflateFunction
type PostingDecision ¶
type PostingDecision struct { ExpireAt time.Time CompressXover DeflateFunction CompressHeader DeflateFunction CompressBody DeflateFunction }
type PostingPolicy ¶
type PostingPolicy interface {
Decide(groups [][]byte, lines, length int64) PostingDecision
}
func Def ¶
func Def(p PostingPolicy) PostingPolicy
Click to show internal directories.
Click to hide internal directories.