Registry / testing / k1low-httpstub

k1low-httpstub

JSON →
library0.28.1gogounverified

A Go library for stubbing HTTP servers in tests with configurable responses.

go get github.com/k1LoW/httpstub
INSTALL
IMPORT
SIG · K1LOW-HTTPSTUB
K
k1low-httpstub
testinggov0.28.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

httpstub
github.com/k1LoW/httpstub

Create a stub HTTP server for testing.

import "github.com/k1LoW/httpstub" func main() { s := httpstub.NewServer() defer s.Close() // Use s.URL for test requests }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.28.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
k1low-httpstub — go get k1low-httpstub · libregistry