defaults

package module
v0.0.0-...-7a1436d Latest Latest
Warning

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

Go to latest
Published: May 1, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeResponse

type FakeResponse struct {
	Headers http.Header
	Body    []byte
	Status  int
}

func NewFakeResponse

func NewFakeResponse() *FakeResponse

func (*FakeResponse) Header

func (r *FakeResponse) Header() http.Header

func (*FakeResponse) Write

func (r *FakeResponse) Write(body []byte) (int, error)

func (*FakeResponse) WriteHeader

func (r *FakeResponse) WriteHeader(status int)

Jump to

Keyboard shortcuts

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