Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Write(msg string) error Read(bufSize int) ([]byte, error) Query(msg string, bufSize int) ([]byte, error) }
Client is the interface that describe the client of MAO-WFS devices.
type CorrelatorHandler ¶
type CorrelatorHandler interface { Start(ctx context.Context, st, et time.Time) error Halt(ctx context.Context, ht time.Time) error }
CorrelatorHandler is the interface that describe the correlator handler.
type FGHandler ¶
type FGHandler interface { Start(ctx context.Context, st, et time.Time) error Halt(ctx context.Context, ht time.Time) error }
FGHandler is the interface that describe the FG handler.
type WFSHandler ¶
type WFSHandler struct { Config config.DeviceConfig Correlator CorrelatorHandler FG FGHandler }
WFSHandler represents the handler of MAO-WFS.
func NewWFSHandler ¶
func NewWFSHandler(conf config.DeviceConfig, corrHan CorrelatorHandler, fgHan FGHandler) *WFSHandler
NewWFSHandler returns a new handler of MAO-WFS.
Click to show internal directories.
Click to hide internal directories.