...

Package fakes

import "github.com/hyperledger/fabric/core/middleware/fakes"
Overview
Index

Overview ▾

Code generated by counterfeiter. DO NOT EDIT.

type HTTPHandler

type HTTPHandler struct {
    ServeHTTPStub func(http.ResponseWriter, *http.Request)
    // contains filtered or unexported fields
}

func (*HTTPHandler) Invocations

func (fake *HTTPHandler) Invocations() map[string][][]interface{}

func (*HTTPHandler) ServeHTTP

func (fake *HTTPHandler) ServeHTTP(arg1 http.ResponseWriter, arg2 *http.Request)

func (*HTTPHandler) ServeHTTPArgsForCall

func (fake *HTTPHandler) ServeHTTPArgsForCall(i int) (http.ResponseWriter, *http.Request)

func (*HTTPHandler) ServeHTTPCallCount

func (fake *HTTPHandler) ServeHTTPCallCount() int

func (*HTTPHandler) ServeHTTPCalls

func (fake *HTTPHandler) ServeHTTPCalls(stub func(http.ResponseWriter, *http.Request))