fakes

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

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 {
	HandleGetStub func(w http.ResponseWriter, r *http.Request)

	HandleSetStub func(w http.ResponseWriter, r *http.Request)

	DiscoverLightStateStub func() (*light.LightState, error)
	// contains filtered or unexported fields
}

func (*FakeHandler) DiscoverLightState

func (fake *FakeHandler) DiscoverLightState() (*light.LightState, error)

func (*FakeHandler) DiscoverLightStateCallCount

func (fake *FakeHandler) DiscoverLightStateCallCount() int

func (*FakeHandler) DiscoverLightStateReturns

func (fake *FakeHandler) DiscoverLightStateReturns(result1 *light.LightState, result2 error)

func (*FakeHandler) HandleGet

func (fake *FakeHandler) HandleGet(w http.ResponseWriter, r *http.Request)

func (*FakeHandler) HandleGetArgsForCall

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

func (*FakeHandler) HandleGetCallCount

func (fake *FakeHandler) HandleGetCallCount() int

func (*FakeHandler) HandleSet

func (fake *FakeHandler) HandleSet(w http.ResponseWriter, r *http.Request)

func (*FakeHandler) HandleSetArgsForCall

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

func (*FakeHandler) HandleSetCallCount

func (fake *FakeHandler) HandleSetCallCount() int

Jump to

Keyboard shortcuts

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