writer

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: May 9, 2026 License: BSD-3-Clause Imports: 9 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(ctx *core.Context) *DiskWriter

func (*DiskWriter) Write

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

type MemoryWriter

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

func NewMemoryWriter

func NewMemoryWriter(ctx *core.Context) *MemoryWriter

func (*MemoryWriter) Open

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

func (*MemoryWriter) Reset

func (m *MemoryWriter) Reset()

func (*MemoryWriter) Write

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

type NullWriter

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

func NewNullWriter

func NewNullWriter(ctx *core.Context) *NullWriter

func (*NullWriter) Write

func (w *NullWriter) Write(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