Documentation ¶
Index ¶
- type AbilityRepo
- type MockAbility
- func (m MockAbility) Down(speed Speed) error
- func (m MockAbility) Goto(position *dsd.Position) error
- func (m MockAbility) Left(speed Speed) error
- func (m MockAbility) LeftDown(speed Speed) error
- func (m MockAbility) LeftUp(speed Speed) error
- func (m MockAbility) Model() (string, error)
- func (m MockAbility) Position() (*dsd.Position, error)
- func (m MockAbility) Restart() error
- func (m MockAbility) Right(speed Speed) error
- func (m MockAbility) RightDown(speed Speed) error
- func (m MockAbility) RightUp(speed Speed) error
- func (m MockAbility) Stop() error
- func (m MockAbility) Up(speed Speed) error
- func (m MockAbility) Version() (string, error)
- func (m MockAbility) ZoomAdd() error
- func (m MockAbility) ZoomSub() error
- type Speed
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbilityRepo ¶
type AbilityRepo interface { Version() (string, error) Model() (string, error) Restart() error Stop() error Up(speed Speed) error Down(speed Speed) error Left(speed Speed) error Right(speed Speed) error LeftUp(speed Speed) error RightUp(speed Speed) error LeftDown(speed Speed) error RightDown(speed Speed) error ZoomAdd() error ZoomSub() error Position() (*dsd.Position, error) Goto(*dsd.Position) error }
type MockAbility ¶
type MockAbility struct { }
func NewMockAbility ¶
func NewMockAbility() *MockAbility
func (MockAbility) Down ¶
func (m MockAbility) Down(speed Speed) error
func (MockAbility) Left ¶
func (m MockAbility) Left(speed Speed) error
func (MockAbility) LeftDown ¶
func (m MockAbility) LeftDown(speed Speed) error
func (MockAbility) LeftUp ¶
func (m MockAbility) LeftUp(speed Speed) error
func (MockAbility) Model ¶
func (m MockAbility) Model() (string, error)
func (MockAbility) Restart ¶
func (m MockAbility) Restart() error
func (MockAbility) Right ¶
func (m MockAbility) Right(speed Speed) error
func (MockAbility) RightDown ¶
func (m MockAbility) RightDown(speed Speed) error
func (MockAbility) RightUp ¶
func (m MockAbility) RightUp(speed Speed) error
func (MockAbility) Stop ¶
func (m MockAbility) Stop() error
func (MockAbility) Up ¶
func (m MockAbility) Up(speed Speed) error
func (MockAbility) Version ¶
func (m MockAbility) Version() (string, error)
func (MockAbility) ZoomAdd ¶
func (m MockAbility) ZoomAdd() error
func (MockAbility) ZoomSub ¶
func (m MockAbility) ZoomSub() error
Click to show internal directories.
Click to hide internal directories.