testutil

package
v0.0.0-...-33edafc Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertCloses

func AssertCloses(t *testing.T, c io.Closer) func()

func AssertCookie

func AssertCookie(t *testing.T, r *http.Request, name, value string)

func MakeTrack

func MakeTrack() pandora.Track

func MarshalResponse

func MarshalResponse(t *testing.T, status int, w http.ResponseWriter, v interface{})

func NopLogger

func NopLogger() logrus.FieldLogger

func UnmarshalRequest

func UnmarshalRequest(t *testing.T, r *http.Request, v interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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