Help us shape the future of Go! Take the 2026 Go Developer Survey

api

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandlerRequest

func HandlerRequest(t *testing.T, responder middleware.Responder, responseObject interface{}, statusCode int)

HandlerRequest is a convenience function for testing API handlers

func MakeAPI

func MakeAPI(t *testing.T, registrar api.HandlerRegistrar, api api.SwaggerAPI)

MakeAPI returns an API for testing

func MakeEntityStore

func MakeEntityStore(t *testing.T) entitystore.EntityStore

Types

This section is empty.

Jump to

Keyboard shortcuts

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