Versions in this module Expand all Collapse all v0 v0.1.0 Dec 9, 2024 Changes in this version + func IsReport[T any](s *client.SimConnect, ppData *client.RecvSimobjectDataByType) (*T, bool) + func RequestData[T any](s *client.SimConnect) error + type Connector struct + func NewConnector(name string, opts ...ConnectorOption) *Connector + func (c *Connector) Start(ctx context.Context) + func (c *Connector) StartReconnect(ctx context.Context) + type ConnectorError string + const ErrE_FAIL + const ErrGetNextDispatch + func (e ConnectorError) Error() string + type ConnectorOption func(*Connector) + func WithCycle(cycle time.Duration) ConnectorOption + func WithDLLPath(path string) ConnectorOption + func WithLogger(l *slog.Logger) ConnectorOption + func WithReceiver(r Receiver) ConnectorOption + type Receiver interface + Start func(ctx context.Context, sc *client.SimConnect) + Update func(ctx context.Context, sc *client.SimConnect, ...)