serverfakes

package
v0.0.124 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeHandler

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

func (*FakeHandler) Invocations

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

func (*FakeHandler) ServeHTTP

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

func (*FakeHandler) ServeHTTPArgsForCall

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

func (*FakeHandler) ServeHTTPCallCount

func (fake *FakeHandler) ServeHTTPCallCount() int

type FakeTokenValidator

type FakeTokenValidator struct {
	ValidateStub func(token string) error
	// contains filtered or unexported fields
}

func (*FakeTokenValidator) Invocations

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

func (*FakeTokenValidator) Validate

func (fake *FakeTokenValidator) Validate(token string) error

func (*FakeTokenValidator) ValidateArgsForCall

func (fake *FakeTokenValidator) ValidateArgsForCall(i int) string

func (*FakeTokenValidator) ValidateCallCount

func (fake *FakeTokenValidator) ValidateCallCount() int

func (*FakeTokenValidator) ValidateReturns

func (fake *FakeTokenValidator) ValidateReturns(result1 error)

Jump to

Keyboard shortcuts

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