Documentation ¶
Overview ¶
Package gy61 is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GY61 ¶
type GY61 struct {
// contains filtered or unexported fields
}
type GY61DataReceivedFn ¶
type GY61DataReceivedFn func(x, y, z float32)
type MockSerial ¶
type MockSerial struct {
// contains filtered or unexported fields
}
MockSerial is a mock of Serial interface
func NewMockSerial ¶
func NewMockSerial(ctrl *gomock.Controller) *MockSerial
NewMockSerial creates a new mock instance
func (*MockSerial) EXPECT ¶
func (m *MockSerial) EXPECT() *MockSerialMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSerial) OpenSerial ¶
func (m *MockSerial) OpenSerial(c *serial.Config) error
OpenSerial mocks base method
type MockSerialMockRecorder ¶
type MockSerialMockRecorder struct {
// contains filtered or unexported fields
}
MockSerialMockRecorder is the mock recorder for MockSerial
func (*MockSerialMockRecorder) Close ¶
func (mr *MockSerialMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockSerialMockRecorder) OpenSerial ¶
func (mr *MockSerialMockRecorder) OpenSerial(c interface{}) *gomock.Call
OpenSerial indicates an expected call of OpenSerial
func (*MockSerialMockRecorder) Read ¶
func (mr *MockSerialMockRecorder) Read(b interface{}) *gomock.Call
Read indicates an expected call of Read
func (*MockSerialMockRecorder) Write ¶
func (mr *MockSerialMockRecorder) Write(b interface{}) *gomock.Call
Write indicates an expected call of Write
Click to show internal directories.
Click to hide internal directories.