testutils

package
v0.0.0-...-f7ca523 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2017 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseServer

func CloseServer()

func DropDB

func DropDB()

func Get

func Get(t *testing.T, url string) (int, string)

func PostForm

func PostForm(t *testing.T, url string, data url.Values) (int, string)

func PostJSON

func PostJSON(t *testing.T, url string, jsonStr string) (int, string)

func ResetTable

func ResetTable(tablename string)

func SetupDB

func SetupDB()

func SetupServer

func SetupServer()

Types

This section is empty.

Jump to

Keyboard shortcuts

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