Documentation ¶
Overview ¶
Package status provides a functions for managing Autopi status payloads.
Index ¶
- func NameFromV2Signal(sigResult gjson.Result) (string, error)
- func SignalsFromV1Payload(jsonData []byte) ([]vss.Signal, error)
- func SignalsFromV2Payload(jsonData []byte) ([]vss.Signal, error)
- func SubjectFromV1Data(jsonData []byte) (string, error)
- func TimestampFromV1Data(jsonData []byte) (time.Time, error)
- func TimestampFromV2Signal(sigResult gjson.Result) (time.Time, error)
- func TokenIDFromV1Data(jsonData []byte) (uint32, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NameFromV2Signal ¶
NameFromV2Signal gets a name from a V2 signal.
func SignalsFromV1Payload ¶
SignalsFromV1Payload gets a slice signals from a v1 payload.
func SignalsFromV2Payload ¶
SignalsFromV2Payload extracts signals from a V2 payload.
func SubjectFromV1Data ¶
SubjectFromV1Data gets a subject from a v1 payload.
func TimestampFromV1Data ¶
TimestampFromV1Data gets a timestamp from a v1 payload.
func TimestampFromV2Signal ¶
TimestampFromV2Signal gets a timestamp from a V2 signal.
func TokenIDFromV1Data ¶
TokenIDFromV1Data gets a tokenID from a v1 payload.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.