writer

package
v0.4.12 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 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 WriterNone _WriterNone

Functions

func NewWriterDefWithConfig

func NewWriterDefWithConfig(ctx context.Context, conf *Config) io.Writer

func NewWriterRefWithConfig

func NewWriterRefWithConfig(ctx context.Context, conf *Config) io.Writer

func WriterGet

func WriterGet(ctx context.Context, name string, defaults io.Writer) io.Writer

func WriterPut

func WriterPut(ctx context.Context, name string, def io.Writer) io.Writer

Types

type Config

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

type Writer

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

func (*Writer) Write

func (o *Writer) Write(a []uint8) (int, error)

Jump to

Keyboard shortcuts

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