Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type HTTPHandler
- func (fake *HTTPHandler) Invocations() map[string][][]interface{}
- func (fake *HTTPHandler) ServeHTTP(arg1 http.ResponseWriter, arg2 *http.Request)
- func (fake *HTTPHandler) ServeHTTPArgsForCall(i int) (http.ResponseWriter, *http.Request)
- func (fake *HTTPHandler) ServeHTTPCallCount() int
- func (fake *HTTPHandler) ServeHTTPCalls(stub func(http.ResponseWriter, *http.Request))
- type MetricsSender
- func (fake *MetricsSender) IncrementCounter(arg1 string)
- func (fake *MetricsSender) IncrementCounterArgsForCall(i int) string
- func (fake *MetricsSender) IncrementCounterCallCount() int
- func (fake *MetricsSender) IncrementCounterCalls(stub func(string))
- func (fake *MetricsSender) Invocations() map[string][][]interface{}
- func (fake *MetricsSender) SendDuration(arg1 string, arg2 time.Duration)
- func (fake *MetricsSender) SendDurationArgsForCall(i int) (string, time.Duration)
- func (fake *MetricsSender) SendDurationCallCount() int
- func (fake *MetricsSender) SendDurationCalls(stub func(string, time.Duration))
- type UUIDGenerator
- func (fake *UUIDGenerator) GenerateUUID() (string, error)
- func (fake *UUIDGenerator) GenerateUUIDCallCount() int
- func (fake *UUIDGenerator) GenerateUUIDCalls(stub func() (string, error))
- func (fake *UUIDGenerator) GenerateUUIDReturns(result1 string, result2 error)
- func (fake *UUIDGenerator) GenerateUUIDReturnsOnCall(i int, result1 string, result2 error)
- func (fake *UUIDGenerator) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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))
type MetricsSender ¶
type MetricsSender struct { IncrementCounterStub func(string) SendDurationStub func(string, time.Duration) // contains filtered or unexported fields }
func (*MetricsSender) IncrementCounter ¶
func (fake *MetricsSender) IncrementCounter(arg1 string)
func (*MetricsSender) IncrementCounterArgsForCall ¶
func (fake *MetricsSender) IncrementCounterArgsForCall(i int) string
func (*MetricsSender) IncrementCounterCallCount ¶
func (fake *MetricsSender) IncrementCounterCallCount() int
func (*MetricsSender) IncrementCounterCalls ¶
func (fake *MetricsSender) IncrementCounterCalls(stub func(string))
func (*MetricsSender) Invocations ¶
func (fake *MetricsSender) Invocations() map[string][][]interface{}
func (*MetricsSender) SendDuration ¶
func (fake *MetricsSender) SendDuration(arg1 string, arg2 time.Duration)
func (*MetricsSender) SendDurationArgsForCall ¶
func (fake *MetricsSender) SendDurationArgsForCall(i int) (string, time.Duration)
func (*MetricsSender) SendDurationCallCount ¶
func (fake *MetricsSender) SendDurationCallCount() int
func (*MetricsSender) SendDurationCalls ¶
func (fake *MetricsSender) SendDurationCalls(stub func(string, time.Duration))
type UUIDGenerator ¶
type UUIDGenerator struct { GenerateUUIDStub func() (string, error) // contains filtered or unexported fields }
func (*UUIDGenerator) GenerateUUID ¶
func (fake *UUIDGenerator) GenerateUUID() (string, error)
func (*UUIDGenerator) GenerateUUIDCallCount ¶
func (fake *UUIDGenerator) GenerateUUIDCallCount() int
func (*UUIDGenerator) GenerateUUIDCalls ¶
func (fake *UUIDGenerator) GenerateUUIDCalls(stub func() (string, error))
func (*UUIDGenerator) GenerateUUIDReturns ¶
func (fake *UUIDGenerator) GenerateUUIDReturns(result1 string, result2 error)
func (*UUIDGenerator) GenerateUUIDReturnsOnCall ¶
func (fake *UUIDGenerator) GenerateUUIDReturnsOnCall(i int, result1 string, result2 error)
func (*UUIDGenerator) Invocations ¶
func (fake *UUIDGenerator) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.