reader

package
v0.4.13 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2020 License: MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

DO NOT EDIT! Code generated.

Index

Constants

This section is empty.

Variables

View Source
var ReaderNone _ReaderNone

Functions

func NewReaderDefWithConfig

func NewReaderDefWithConfig(ctx context.Context, conf *Config) io.Reader

func NewReaderRefWithConfig

func NewReaderRefWithConfig(ctx context.Context, conf *Config) io.Reader

func ReaderGet

func ReaderGet(ctx context.Context, name string, defaults io.Reader) io.Reader

func ReaderPut

func ReaderPut(ctx context.Context, name string, def io.Reader) io.Reader

Types

type Config

type Config struct {
	Name string
	Def  io.Reader `json:",omitempty"`
}

type Reader

type Reader struct {
	Name string
	Def  io.Reader
	Ctx  context.Context
}

func (*Reader) Read

func (o *Reader) Read(a []uint8) (int, error)

Jump to

Keyboard shortcuts

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