test

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrettyPrintJson

func PrettyPrintJson(obj interface{})

Types

type FakeResponseWriter added in v0.2.0

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

func NewFakeResponseWriter added in v0.2.0

func NewFakeResponseWriter(id string) *FakeResponseWriter

func (*FakeResponseWriter) Header added in v0.2.0

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

func (*FakeResponseWriter) Write added in v0.2.0

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

func (*FakeResponseWriter) WriteHeader added in v0.2.0

func (w *FakeResponseWriter) WriteHeader(statusCode int)

Jump to

Keyboard shortcuts

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