reader

package
v0.0.0-...-015f7ae Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MultipleReader

type MultipleReader interface {
	// Reader 用于获取一个可关闭读取器的实例。
	// 后者会持有本多重读取器中的数据。
	Reader() io.ReadCloser
}

MultipleReader 代表多重读取器的接口。

func NewMultipleReader

func NewMultipleReader(reader io.Reader) (MultipleReader, error)

NewMultipleReader 用于新建并返回一个多重读取器的实例。

Jump to

Keyboard shortcuts

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