Help us shape the future of Go! Take the 2026 Go Developer Survey

fallback

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DirBuffer

type DirBuffer struct {
	// contains filtered or unexported fields
}

func NewDirBuffer

func NewDirBuffer(dir string) *DirBuffer

func (*DirBuffer) AnythingToRead

func (d *DirBuffer) AnythingToRead() (ok bool, err error)

func (*DirBuffer) Close

func (f *DirBuffer) Close() (err error)

Close implements io.WriteCloser.

func (*DirBuffer) Reader

func (d *DirBuffer) Reader(fn func(n int, r io.Reader) error) (err error)

func (*DirBuffer) Write

func (f *DirBuffer) Write(p []byte) (n int, err error)

Write implements io.WriteCloser.

type FileBuffer

type FileBuffer struct {
	// contains filtered or unexported fields
}

func NewFileBuffer

func NewFileBuffer(path string) *FileBuffer

func (*FileBuffer) Close

func (f *FileBuffer) Close() (err error)

Close implements io.WriteCloser.

func (*FileBuffer) Write

func (f *FileBuffer) Write(p []byte) (n int, err error)

Write implements io.WriteCloser.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL