Documentation ¶
Index ¶
- Constants
- Variables
- type Backlog
- func (bl *Backlog) Close() error
- func (bl *Backlog) CloseWithError(err error) error
- func (bl *Backlog) DataRange() (rpos, wpos uint64, err error)
- func (bl *Backlog) NewReader() (*Reader, error)
- func (bl *Backlog) ReadAt(b []byte, offset uint64) (int, error)
- func (bl *Backlog) Write(b []byte) (int, error)
- type Reader
Constants ¶
View Source
const (
BuffSizeAlign = 1024 * 4
)
View Source
const (
FileSizeAlign = 1024 * 1024 * 4
)
Variables ¶
View Source
var ( ErrClosedBacklog = errors.New("closed backlog") ErrInvalidOffset = errors.New("invalid offset") )
Functions ¶
This section is empty.
Types ¶
type Backlog ¶
type Backlog struct {
// contains filtered or unexported fields
}
func (*Backlog) CloseWithError ¶
Click to show internal directories.
Click to hide internal directories.