reader

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2020 License: MIT Imports: 6 Imported by: 0

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