Documentation
¶
Index ¶
Constants ¶
View Source
const ( EventTimeStamp = "eventtimestamp" EventName = "eventname" EventType = "eventtype" EventSource = "eventsource" EventValuesFull = "eventvaluesfull" EventValuesShort = "eventvaluesshort" SessionUID = "sessionuid" )
View Source
const Port9085 = 9085
Variables ¶
View Source
var ( Mu sync.Mutex AllEvents []StoredEvent )
View Source
var ( ToLockStateValue = map[string]LockStateValue{ string(ptpEvent.ACQUIRING_SYNC): AcquiringSync, string(ptpEvent.ANTENNA_DISCONNECTED): AntennaDisconnected, string(ptpEvent.ANTENNA_SHORT_CIRCUIT): AntennaShortCircuit, string(ptpEvent.BOOTING): Booting, string(ptpEvent.FREERUN): Freerun, string(ptpEvent.HOLDOVER): Holdover, string(ptpEvent.LOCKED): Locked, string(ptpEvent.SYNCHRONIZED): Synchronized, string(ptpEvent.UNLOCKED): Unlocked, } )
Functions ¶
This section is empty.
Types ¶
type LockStateValue ¶
type LockStateValue int64
Conversion for LockState event enumeration to int
const ( AcquiringSync LockStateValue = iota AntennaDisconnected AntennaShortCircuit Booting Freerun Holdover Locked Synchronized Unlocked )
type StoredEvent ¶
type StoredEvent map[string]interface{}
type StoredEventValues ¶
type StoredEventValues map[string]interface{}
Click to show internal directories.
Click to hide internal directories.