Documentation ¶
Index ¶
- Variables
- func ExecuteBulk(dev Device, commands []gcmd.Cmd) ([]gcmd.CmdRes, error)
- func ThrowEchoReadException(lastRead []byte) error
- func ThrowExecException(data string) error
- func ThrowQuestionException(question []byte) error
- type Device
- type EchoReadException
- type ExecException
- type QuestionException
- type SFTPSupport
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorStreamerNotSupportedByDevice = errors.New("unsupported streamer")
Functions ¶
func ThrowEchoReadException ¶
func ThrowExecException ¶
func ThrowQuestionException ¶
Types ¶
type EchoReadException ¶
type EchoReadException struct {
// contains filtered or unexported fields
}
func (*EchoReadException) Error ¶
func (e *EchoReadException) Error() string
type ExecException ¶
type ExecException struct {
Data string
}
func (*ExecException) Error ¶
func (m *ExecException) Error() string
func (*ExecException) Is ¶
func (m *ExecException) Is(target error) bool
type QuestionException ¶
type QuestionException struct {
Question []byte
}
func (*QuestionException) Error ¶
func (e *QuestionException) Error() string
type SFTPSupport ¶
type SFTPSupport interface {
EnableSFTP()
}
Click to show internal directories.
Click to hide internal directories.