testwebserver

package
v1.28.14 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Overview

Package testwebserver offers a tiny web server that serves a static file.

Index

Constants

This section is empty.

Variables

View Source
var CmdTestWebserver = &cobra.Command{
	Use:   "test-webserver",
	Short: "Starts a simple HTTP fileserver",
	Long:  "Starts a simple HTTP fileserver on the given --port, which serves any file specified in the URL path, if it exists.",
	Args:  cobra.MaximumNArgs(0),
	Run:   main,
}

CmdTestWebserver is used by agnhost Cobra.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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