Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultMaxIdlePages = 4 DefaultPageSize = 1024 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PageBuffer ¶
type PageBuffer struct {
// contains filtered or unexported fields
}
PageBuffer ...
func NewPageBuffer ¶
func NewPageBuffer() *PageBuffer
NewPageBuffer creates a PageBuffer with default options
func NewPageBufferSize ¶
func NewPageBufferSize(maxIdlePages, pageSize int) *PageBuffer
NewPageBufferSize creates a PageBuffer with specified options
func (*PageBuffer) Format ¶
func (p *PageBuffer) Format() string
Format formats the buffer as a string
Click to show internal directories.
Click to hide internal directories.