mock_gpio

package
v0.0.0-...-a971ac0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2017 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPin

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

Mock of Pin interface

func NewMockPin

func NewMockPin(ctrl *gomock.Controller) *MockPin

func (*MockPin) BeginWatch

func (_m *MockPin) BeginWatch(_param0 Edge, _param1 IRQEvent) error

func (*MockPin) Clear

func (_m *MockPin) Clear() error

func (*MockPin) Close

func (_m *MockPin) Close() error

func (*MockPin) EXPECT

func (_m *MockPin) EXPECT() *_MockPinRecorder

func (*MockPin) EndWatch

func (_m *MockPin) EndWatch() error

func (*MockPin) Get

func (_m *MockPin) Get() (bool, error)

func (*MockPin) Mode

func (_m *MockPin) Mode() (Mode, error)

func (*MockPin) Set

func (_m *MockPin) Set() error

func (*MockPin) SetMode

func (_m *MockPin) SetMode(_param0 Mode) error

func (*MockPin) Wait

func (_m *MockPin) Wait(_param0 bool)

Jump to

Keyboard shortcuts

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