testutils

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const RedisImageName = "redis"
View Source
const RedisTag = "7-alpine"

Variables

This section is empty.

Functions

This section is empty.

Types

type APIResponse

type APIResponse struct {
	Message string `json:"message"`
	Error   string `json:"error"`
}

type TestDB

type TestDB struct {
	// contains filtered or unexported fields
}

func CreateTestDBRouter

func CreateTestDBRouter() (*gin.Engine, *TestDB)

func (*TestDB) CloseDB

func (t *TestDB) CloseDB()

func (*TestDB) CloseRedis

func (t *TestDB) CloseRedis()

Jump to

Keyboard shortcuts

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