test_helpers

package
v0.0.0-...-93796e5 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeResponseWriter

type FakeResponseWriter struct {
	Code int
	// contains filtered or unexported fields
}

func NewFakeResponseWriter

func NewFakeResponseWriter(closeNotifier chan bool) *FakeResponseWriter

func (*FakeResponseWriter) CloseNotify

func (rw *FakeResponseWriter) CloseNotify() <-chan bool

func (*FakeResponseWriter) Header

func (rw *FakeResponseWriter) Header() http.Header

func (*FakeResponseWriter) Write

func (rw *FakeResponseWriter) Write([]byte) (int, error)

func (*FakeResponseWriter) WriteHeader

func (rw *FakeResponseWriter) WriteHeader(code int)

Jump to

Keyboard shortcuts

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