testing

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestHttpServer

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

TestHttpServer is a test http server used for testing the whole binary

func NewTestHttpServer

func NewTestHttpServer() *TestHttpServer

NewTestHttpServer creates a new TestHttpServer instance

func (*TestHttpServer) Close

func (ths *TestHttpServer) Close()

Close closes the test http server

func (*TestHttpServer) URL

func (ths *TestHttpServer) URL() string

URL returns the connecting url to the http test server

Jump to

Keyboard shortcuts

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