testutils

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseWorker

func CloseWorker(t *testing.T, w *worker.Worker)

func CreateRabbitMQContainer

func CreateRabbitMQContainer(t *testing.T, user, password string) *gnomock.Container

func Send

func Send(r http.Handler, method, path string, body interface{}) (*httptest.ResponseRecorder, error)

func StopContainer

func StopContainer(t *testing.T, c *gnomock.Container)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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