testutil

package
v0.0.0-...-362a82f Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRedis

func CreateRedis(t *testing.T) string

func Json

func Json(t *testing.T, app *fiber.App, r JsonRequest)

func SetupResources

func SetupResources(t *testing.T) resources

Types

type JsonRequest

type JsonRequest struct {
	// Prints stuff using t.Log
	Debug      bool
	Method     string
	Path       string
	Body       string
	Bearer     string
	Response   any
	StatusCode int
}

Jump to

Keyboard shortcuts

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