http

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHandler

type MockHandler struct {
	mock.Mock
}

func (*MockHandler) ServeHTTP

func (m *MockHandler) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type MockResponseWriter

type MockResponseWriter struct {
	mock.Mock
}

func (*MockResponseWriter) Header

func (m *MockResponseWriter) Header() http.Header

func (*MockResponseWriter) Write

func (m *MockResponseWriter) Write(b []byte) (n int, err error)

func (*MockResponseWriter) WriteHeader

func (m *MockResponseWriter) WriteHeader(n int)

Jump to

Keyboard shortcuts

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