fakesrvr

package
v8.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(port int, remaps []string) (*http.Server, error)

func News

func News(portStart int, numPorts int, remaps []string) ([]*http.Server, error)

func Serve

func Serve(port int, fakeSrvrData fakesrvrdata.Ths) *http.Server

Types

type CmdFunc

type CmdFunc = func(http.ResponseWriter, *http.Request, fakesrvrdata.Ths)

Jump to

Keyboard shortcuts

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