Documentation ¶
Index ¶
- func DecodeInt32Array(val any) ([]int32, error)
- func EncodeInt32Array(data []int32) string
- func Initialize(config *config.Conf, status *Status)
- func Subscribe(gp *Geophone, enable *bool, onMessage func(gp *Geophone) error)
- type ChannelSegmentBuffer
- type Geophone
- type Int32Array
- type SegmentBuffer
- type Status
- type System
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeInt32Array ¶
func EncodeInt32Array ¶
func Initialize ¶
Types ¶
type ChannelSegmentBuffer ¶
type Geophone ¶
type Geophone struct { TS int64 `json:"ts" gorm:"ts;index;not null"` EHZ Int32Array `json:"ehz" gorm:"ehz;type:text;not null"` EHE Int32Array `json:"ehe" gorm:"ehe;type:text;not null"` EHN Int32Array `json:"ehn" gorm:"ehn;type:text;not null"` }
type Int32Array ¶
type Int32Array []int32
func (*Int32Array) Scan ¶
func (i *Int32Array) Scan(val any) error
type SegmentBuffer ¶
type SegmentBuffer struct { TimeStamp time.Time ChannelBuffer map[string]*ChannelSegmentBuffer }
Click to show internal directories.
Click to hide internal directories.