xio

package
v0.0.39 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FDWrapper

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

func NewFDWrapper

func NewFDWrapper(w io.Writer, f fdCapable) *FDWrapper

func (*FDWrapper) Close

func (f *FDWrapper) Close() error

func (*FDWrapper) Fd

func (f *FDWrapper) Fd() uintptr

func (*FDWrapper) Read

func (f *FDWrapper) Read(p []byte) (n int, err error)

func (*FDWrapper) Write

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

type LineWriter

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

func NewLineWriter

func NewLineWriter(w io.Writer) *LineWriter

func (*LineWriter) Flush

func (w *LineWriter) Flush() error

func (*LineWriter) Write

func (w *LineWriter) Write(p []byte) (int, error)

type PrefixWriter

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

func NewPrefixWriter

func NewPrefixWriter(w io.Writer, prefix []byte) *PrefixWriter

func (*PrefixWriter) Write

func (w *PrefixWriter) Write(p []byte) (int, error)

type SafeWriter

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

func NewSafeWriter

func NewSafeWriter(w io.Writer) *SafeWriter

func (*SafeWriter) SafeWrite

func (w *SafeWriter) SafeWrite() error

func (*SafeWriter) Write

func (w *SafeWriter) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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