testserver

package
v1.74.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: MIT Imports: 13 Imported by: 14

Documentation

Overview

Package testserver starts and stops test servers if required

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanupAll added in v1.74.0

func CleanupAll()

CleanupAll force-stops every server this process ever started via Start, regardless of refcount. Safe to call multiple times and from any goroutine. Intended for end-of-run or signal-handler cleanup in long-running test drivers like fstest/test_all.

func Start

func Start(remote string) (fn func(), err error)

Start starts the test server for remoteName.

This must be stopped by calling the function returned when finished.

Types

This section is empty.

Jump to

Keyboard shortcuts

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