es_close

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func NewNopWriteCloser

func NewNopWriteCloser(w io.Writer) io.WriteCloser

Types

type NopCloseBuffer

type NopCloseBuffer interface {
	io.WriteCloser
	Bytes() []byte
	Len() int
	String() string
}

func NewNopCloseBuffer

func NewNopCloseBuffer() NopCloseBuffer

type NopWriteCloser

type NopWriteCloser struct {
	// contains filtered or unexported fields
}

func (NopWriteCloser) Close

func (z NopWriteCloser) Close() error

func (NopWriteCloser) Write

func (z NopWriteCloser) Write(p []byte) (n int, err error)

type WriteCloser

type WriteCloser struct {
	// contains filtered or unexported fields
}

func (*WriteCloser) Close

func (z *WriteCloser) Close() (err error)

func (*WriteCloser) Write

func (z *WriteCloser) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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