proxy.golang.org : github.com/a-poor/vhttp
Package vhttp contains helper functions for testing aspects of http.Request or http.Response objects from the net/http package. The core functions used are ValidateRequest and ValidateResponse whose arguments (in addition to the http.Request or http.Response) implement the RequestValidator ResponseValidator interfaces, respectively. This package also includes helper types for validating specific aspects of the requests or responses, such as the MethodValidator, HeaderValidator, or the BodyValidator. Some helper functions exist for creating validator functions but others can be created manually.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/a-poor/vhttp
Keywords:
go
, hacktoberfest
, http
, testing
License: MIT
Latest release: almost 3 years ago
First release: almost 3 years ago
Namespace: github.com/a-poor
Stars: 2 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: about 1 month ago