Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { Params json.RawMessage `json:"params"` Type string `json:"type"` Value string `json:"value"` }
Message is a generic type to allow us to get the value of Type
type RXActivity ¶
type RXActivity struct { Type string `json:"type"` Value string `json:"value"` Params struct { DIAL int `json:"DIAL"` FREQ int `json:"FREQ"` OFFSET int `json:"OFFSET"` SNR int `json:"SNR"` SPEED int `json:"SPEED"` TDRIFT float64 `json:"TDRIFT"` UTC int64 `json:"UTC"` ID int `json:"_ID"` } }
RXActivity contains the specific RX.ACTIVITY message structure
type RXDirected ¶
type RXDirected struct { Type string `json:"type"` Value string `json:"value"` Params struct { CMD string `json:"CMD"` DIAL int `json:"DIAL"` EXTRA string `json:"EXTRA"` FREQ int `json:"FREQ"` FROM string `json:"FROM"` GRID string `json:"GRID"` OFFSET int `json:"OFFSET"` SNR int `json:"SNR"` SPEED int `json:"SPEED"` TDRIFT float64 `json:"TDRIFT"` TEXT string `json:"TEXT"` TO string `json:"TO"` UTC int64 `json:"UTC"` ID int `json:"_ID"` } }
RX.BAND_ACTIVITY RX.CALL_ACTIVITY RX.CALL_SELECTED
RXDirected contains the specific RX.DIRECTED message structure
type RXSpot ¶
type RXSpot struct { Type string `json:"type"` Value string `json:"value"` Params struct { CALL string `json:"CALL"` DIAL int `json:"DIAL"` FREQ int `json:"FREQ"` GRID string `json:"GRID"` OFFSET int `json:"OFFSET"` SNR int `json:"SNR"` ID int `json:"_ID"` } }
RXSpot contains the specific RX.SPOT message structure
type RigFreq ¶
type RigFreq struct { Type string `json:"type"` Value string `json:"value"` Params struct { BAND string `json:"BAND"` DIAL int64 `json:"DIAL"` FREQ int64 `json:"FREQ"` OFFSET int `json:"OFFSET"` ID int `json:"_ID"` } }
RigFreq contains the specific RIG.FREQ message structure
type RigPTT ¶
type RigPTT struct { Type string `json:"type"` Value string `json:"value"` Params struct { PTT bool `json:"PTT"` UTC int64 `json:"UTC"` ID int `json:"_ID"` } }
RigPTT contains the specific RIG.PTT message structure
Click to show internal directories.
Click to hide internal directories.