mockHue

package
v0.0.0-...-b954927 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

type MockClient struct {
	// contains filtered or unexported fields
}

Mock of Client interface

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

func (*MockClient) Do

func (_m *MockClient) Do(method string, address string, message []byte, resp interface{}) error

func (*MockClient) EXPECT

func (_m *MockClient) EXPECT() *_MockClientRecorder

type MockLights

type MockLights struct {
	// contains filtered or unexported fields
}

Mock of Lights interface

func NewMockLights

func NewMockLights(ctrl *gomock.Controller) *MockLights

func (*MockLights) Delete

func (_m *MockLights) Delete(id string) error

func (*MockLights) EXPECT

func (_m *MockLights) EXPECT() *_MockLightsRecorder

func (*MockLights) Get

func (_m *MockLights) Get(id string) (*message.Light, error)

func (*MockLights) GetAll

func (_m *MockLights) GetAll() (map[string]message.Light, error)

func (*MockLights) GetNew

func (_m *MockLights) GetNew() (*message.GetNewResp, error)

func (*MockLights) Rename

func (_m *MockLights) Rename(id string, name string) error

func (*MockLights) Set

func (_m *MockLights) Set(id string, state message.NewLightState) error

Jump to

Keyboard shortcuts

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