helpers

package
v1.6.6 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoBadRequest

func DoBadRequest(checks func(*http.Request)) mocks.Do

func DoOk

func DoOk(checks func(*http.Request)) mocks.Do

func DoOkWithBody

func DoOkWithBody(checks func(*http.Request), body any) mocks.Do

func ReadBody

func ReadBody(r *http.Request, m interface{}) (err error)

func ReadParams

func ReadParams(r *http.Request) (params map[string]string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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