Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileBackend ¶
type FileBackend struct {
// contains filtered or unexported fields
}
func NewFileBackend ¶
func NewFileBackend(file *os.File) *FileBackend
func (*FileBackend) Size ¶
func (b *FileBackend) Size() (int64, error)
func (*FileBackend) Sync ¶
func (b *FileBackend) Sync() error
type MemoryBackend ¶
type MemoryBackend struct {
// contains filtered or unexported fields
}
func NewMemoryBackend ¶
func NewMemoryBackend(memory []byte) *MemoryBackend
func (*MemoryBackend) ReadAt ¶
func (b *MemoryBackend) ReadAt(p []byte, off int64) (n int, err error)
func (*MemoryBackend) Size ¶
func (b *MemoryBackend) Size() (int64, error)
func (*MemoryBackend) Sync ¶
func (b *MemoryBackend) Sync() error
Click to show internal directories.
Click to hide internal directories.