testhttp

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: AGPL-3.0, ISC Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoGet

func DoGet(t *testing.T, url string, response interface{}) *http.Response

func DoGetProto

func DoGetProto(t *testing.T, url string, response proto.Message) *http.Response

func DoPost

func DoPost(t *testing.T, url string, req interface{}, res interface{}) *http.Response

func DoPostProto

func DoPostProto(t *testing.T, url string, req proto.Message, res interface{}) *http.Response

Types

This section is empty.

Jump to

Keyboard shortcuts

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