server

package
v1.6.5 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2023 License: GPL-3.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestServer

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

TestServer is a webserver instance that facilitates functional testing of code that requires the ability to send web requests

func (TestServer) Start

func (TestServer) Start(port string, finishedTest, setup chan struct{}, t *testing.T)

Start starts the test HTTP server on the input port

Jump to

Keyboard shortcuts

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