fakesrvr

package
v7.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 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