testutil

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package testutil provides testing mocks and funcs

Index

Constants

This section is empty.

Variables

View Source
var (
	ServerAddr string
	Once       sync.Once
)

Functions

func DefaultHandler

func DefaultHandler() http.HandlerFunc

Default handler will return data that resolves

func GetDirectoryPath

func GetDirectoryPath() string

func StartServer

func StartServer(handler http.HandlerFunc)

Types

This section is empty.

Jump to

Keyboard shortcuts

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