writer

package
v0.0.1-config Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WriteCloser

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

WriteCloser is a type that implements io.WriteCloser And calls

func New

func New(closeFn func(string) error, fp io.WriteCloser, buffer string) *WriteCloser

New returns a WriteCloser that will call closeFn during Close()

func (*WriteCloser) Close

func (w *WriteCloser) Close() error

Close - A Closer which sends an event

func (*WriteCloser) Write

func (w *WriteCloser) Write(b []byte) (n int, err error)

Jump to

Keyboard shortcuts

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