ioutils

package
v1.15.2 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PathCheckCreate added in v1.7.0

func PathCheckCreate(isFile bool, path string, permFile os.FileMode, permDir os.FileMode) error

Types

type IOWrapper

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

func NewIOWrapper

func NewIOWrapper(ioInput interface{}) *IOWrapper

func (IOWrapper) Close

func (w IOWrapper) Close() error

func (IOWrapper) Read

func (w IOWrapper) Read(p []byte) (n int, err error)

func (IOWrapper) Seek

func (w IOWrapper) Seek(offset int64, whence int) (int64, error)

func (*IOWrapper) SetWrapper

func (w *IOWrapper) SetWrapper(read func(p []byte) []byte, write func(p []byte) []byte)

func (IOWrapper) Write

func (w IOWrapper) Write(p []byte) (n int, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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