http

package
v0.0.0-...-94892f2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Expects

func Expects(is *is.I, facts ...func(*is.I, *http.Request)) func(r *http.Request)

func Returns

func Returns(writers ...func(w http.ResponseWriter)) func(w http.ResponseWriter)

Types

type MockService

type MockService interface {
	Close()
	RequestCount() int
	URL() string
}

func NewMockServiceThat

func NewMockServiceThat(expects func(r *http.Request), returns func(w http.ResponseWriter)) MockService

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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