Documentation
¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakeHandler
- func (fake *FakeHandler) DiscoverLightState() (*light.LightState, error)
- func (fake *FakeHandler) DiscoverLightStateCallCount() int
- func (fake *FakeHandler) DiscoverLightStateReturns(result1 *light.LightState, result2 error)
- func (fake *FakeHandler) HandleGet(w http.ResponseWriter, r *http.Request)
- func (fake *FakeHandler) HandleGetArgsForCall(i int) (http.ResponseWriter, *http.Request)
- func (fake *FakeHandler) HandleGetCallCount() int
- func (fake *FakeHandler) HandleSet(w http.ResponseWriter, r *http.Request)
- func (fake *FakeHandler) HandleSetArgsForCall(i int) (http.ResponseWriter, *http.Request)
- func (fake *FakeHandler) HandleSetCallCount() int
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
Click to show internal directories.
Click to hide internal directories.