13 lines
193 B
Go
13 lines
193 B
Go
package aprs
|
|
|
|
type weatherDecoder struct{}
|
|
|
|
func (weatherDecoder) CanDecode(frame Frame) bool {
|
|
switch frame.Raw.Type() {
|
|
case '!', '#', '$', '*':
|
|
return true
|
|
default:
|
|
return false
|
|
}
|
|
}
|