Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalBackendStore ¶
type LocalBackendStore struct { PlotData []R2dbePlotData UpdateTime int64 // unix time, compatible with time.Unix() LocalObservatory string }
func NewLocalBackendStore ¶
func NewLocalBackendStore(local string) *LocalBackendStore
func (*LocalBackendStore) GetHandle ¶
func (store *LocalBackendStore) GetHandle(w http.ResponseWriter, r *http.Request, params httprouter.Params)
func (*LocalBackendStore) PostHandle ¶
func (store *LocalBackendStore) PostHandle(w http.ResponseWriter, r *http.Request, params httprouter.Params)
type R2dbePlotData ¶
type R2dbePlotData struct { EightBitStateCounts0 [256]int EightBitStateCounts1 [256]int TwoBitStateCounts0 [4]int TwoBitStateCounts1 [4]int EightBitSpectrum0 [2048]float32 EightBitSpectrum1 [2048]float32 TwoBitSpectrum0 [2048]float32 TwoBitSpectrum1 [2048]float32 BDCAttenuatorParameter0 string BDCAttenuatorParameter1 string RecorderPrefix0 string RecorderPrefix1 string RecorderSubgroupValue0 string RecorderSubgroupValue1 string }
Click to show internal directories.
Click to hide internal directories.