Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FailureSumCheckError ¶
func NewFailureSumCheckError ¶
func NewFailureSumCheckError(expected uint16, actual uint16) *FailureSumCheckError
func (*FailureSumCheckError) Error ¶
func (e *FailureSumCheckError) Error() string
type InvalidLenError ¶
func NewInvalidLenError ¶
func NewInvalidLenError(expected int, actual int) *InvalidLenError
func (*InvalidLenError) Error ¶
func (e *InvalidLenError) Error() string
type Parser ¶
type Parser interface { // AD値のバイト列を解析してAD値を持つmodel.Signals型のポインタを返す ToSignals(b []byte) (*model.Signals, error) // <SCMD>...</SCMD>の文字列を解析してmodel.Commandを返す ToCommand(s string) (model.Command, error) // model.Commandを解析してTrendRangeを返す ToTrendRange(c model.Command) (model.TrendRange, error) // model.Commandを解析してAnalysisTypeを返す ToAnalysis(c model.Command) (model.AnalysisType, error) // model.Commandを解析してCalibrationを返す ToChannelCal(c model.Command) (model.ChannelCal, error) // model.Commandを解析してEEGPowerを返す ToChannelPower(c model.Command) (model.ChannelPower, error) }
Click to show internal directories.
Click to hide internal directories.