writer

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockWriter

type MockWriter struct {
	mock.Mock
}

MockWriter is an autogenerated mock type for the Writer type

func (*MockWriter) Flush

func (_m *MockWriter) Flush() error

Flush provides a mock function with given fields:

func (*MockWriter) Write

func (_m *MockWriter) Write(p []byte) (int, error)

Write provides a mock function with given fields: p

type Writer

type Writer interface {
	io.Writer

	Flush() error
}

func NewFilePrepender

func NewFilePrepender(targetFile string) Writer

func NewProxy

func NewProxy(inner io.Writer) Writer

Jump to

Keyboard shortcuts

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