setup

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InsertUser

func InsertUser(t *testing.T, user *isauth.UnencryptedAuthentication, idx int)

func StartDb1

func StartDb1(t *testing.T) func() *errors.Error

func StartServer

func StartServer(t *testing.T, routes []ServerRoute) (*httptest.Server, func(p string) string)

Types

type ServerRoute

type ServerRoute struct {
	Method      string
	Route       string
	Middlewares []gin.HandlerFunc
}

Jump to

Keyboard shortcuts

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