ioproxy

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package ioproxy is a package that provides an io proxy for the app.

Index

Constants

View Source
const (
	// SeekStart is a const for io.SeekStart.
	SeekStart = io.SeekStart
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Io

type Io interface {
	Copy(dst WriterInstanceInterface, src ReaderInstanceInterface) (int64, error)
}

Io is an interface for io.

func New

func New() Io

New is a constructor for IoProxy.

type IoProxy

type IoProxy struct{}

IoProxy is a struct that implements Io.

func (*IoProxy) Copy

Copy is a proxy for io.Copy.

type ReaderInstance

type ReaderInstance struct{}

ReaderInstance is a struct that implements ReaderInstanceInterface.

type ReaderInstanceInterface

type ReaderInstanceInterface interface {
	io.Reader
}

ReaderInstanceInterface is an interface for io.Reader.

type WriterInstance

type WriterInstance struct{}

WriterInstance is a struct that implements WriterInterface.

type WriterInstanceInterface

type WriterInstanceInterface interface {
	io.Writer
}

WriterInstanceInterface is an interface for io.Writer.

Jump to

Keyboard shortcuts

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