writer

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: May 24, 2026 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiskWriter

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

func NewDiskWriter

func NewDiskWriter(outputDir string) *DiskWriter

func (*DiskWriter) WriteFile added in v0.1.7

func (w *DiskWriter) WriteFile(ctx context.Context, file string, r io.Reader) error

type MemoryWriter

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

func NewMemoryWriter

func NewMemoryWriter() *MemoryWriter

func (*MemoryWriter) Create added in v0.1.7

func (m *MemoryWriter) Create(file string) (io.WriteCloser, error)

func (*MemoryWriter) Open

func (m *MemoryWriter) Open(file string) (fs.File, error)

func (*MemoryWriter) Reset

func (m *MemoryWriter) Reset()

func (*MemoryWriter) WriteFile added in v0.1.7

func (m *MemoryWriter) WriteFile(ctx context.Context, file string, r io.Reader) error

type NullWriter

type NullWriter struct {
}

func NewNullWriter

func NewNullWriter() *NullWriter

func (*NullWriter) WriteFile added in v0.1.7

func (w *NullWriter) WriteFile(ctx context.Context, file string, r io.Reader) error

Jump to

Keyboard shortcuts

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