Documentation ¶
Index ¶
- Constants
- Variables
- func DecodeBinaryPackets(r io.Reader, is []uint8) <-chan *Packet
- func DecodeCompressedPackets(r io.Reader, is []uint8) <-chan *Packet
- func DialProxy(a, e string) (io.WriteCloser, error)
- func EncodePacket(p *Packet) ([]byte, error)
- type Item
- type Message
- type Module
- type Notifier
- type Options
- type Packet
- type Pool
Constants ¶
View Source
const ( OPS = 255 TEST = 0 SIM1 = 1 SIM2 = 2 )
View Source
const ( HadockVersion1 = iota HadockVersion2 )
View Source
const PacketLength = 10
View Source
const Preamble uint32 = 0xf82e3553
Variables ¶
Functions ¶
func EncodePacket ¶
Types ¶
type Message ¶
type Message struct { Origin string `json:"origin"` Sequence uint32 `json:"sequence"` Instance int32 `json:"instance"` Channel panda.Channel `json:"channel"` Realtime bool `json:"realtime"` Count uint32 `json:"count"` Elapsed time.Duration `json:"elapsed"` Generated int64 `json:"generated"` Acquired int64 `json:"acquired"` Reference string `json:"reference"` UPI string `json:"upi"` }
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
hdk2udp/internal/mdb
Package mdb is a generated protocol buffer package.
|
Package mdb is a generated protocol buffer package. |
hdk2udp/internal/pvalue
Package pvalue is a generated protocol buffer package.
|
Package pvalue is a generated protocol buffer package. |
hdk2udp/internal/yamcs
Package yamcs is a generated protocol buffer package.
|
Package yamcs is a generated protocol buffer package. |
internal
|
|
plugins
|
|
Click to show internal directories.
Click to hide internal directories.