httpmiddlewarevet: github.com/fd/httpmiddlewarevet Index | Files | Directories

package httpmiddlewarevet

import "github.com/fd/httpmiddlewarevet"

Index

Package Files

const.go test_close_notifier.go test_context_go18.go test_flusher.go test_hijacker.go test_proto.go test_pusher_go18.go test_reader_from.go test_string_writer.go test_tls.go tests.go tests_go17.go util.go util_go16.go

func Vet Uses

func Vet(t *testing.T, middleware func(h http.Handler) http.Handler)

Vet will verify that you correctly implement your http.ResponseWriter wrapper.

type Report Uses

type Report struct {
    Name    string
    Proto   string
    Failed  bool
    Skipped bool
    Message string
}

Report contains test results

func Run Uses

func Run(middleware func(h http.Handler) http.Handler) []*Report

Run generates reports for a middleware handler

Directories

PathSynopsis
reports
testing
testing/hmv-runner

Package httpmiddlewarevet imports 9 packages (graph) and is imported by 1 packages. Updated 2018-12-04. Refresh now. Tools for package owners.