tests

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GET

func GET(s *httptest.Server, path string) *http.Response

GET performs a http GET request on the test server.

func POST

func POST(s *httptest.Server, path string, headers map[string]string, body interface{}) *http.Response

POST performs a http POST request on the test server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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