servicetest

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package servicetest provides helper functions for testing services.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoRequest

func DoRequest(svc service.Service, req *http.Request) *httptest.ResponseRecorder

DoRequest performs a request to the service and writes a response.

Types

This section is empty.

Jump to

Keyboard shortcuts

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