Versions in this module Expand all Collapse all v0 v0.0.1 Mar 15, 2026 Changes in this version + const TYPE_BLOB + const TYPE_FLOAT + const TYPE_INT + const TYPE_NULL + const TYPE_TEXT + type Connector struct + func NewEmbeddedReplicaConnector(dbPath string, primaryUrl string, opts ...Option) (*Connector, error) + func NewSyncedDatabaseConnector(dbPath string, primaryUrl string, opts ...Option) (*Connector, error) + func (c *Connector) Close() error + func (c *Connector) Connect(ctx context.Context) (sqldriver.Conn, error) + func (c *Connector) Driver() sqldriver.Driver + func (c *Connector) Sync() (Replicated, error) + type Option interface + func WithAuthToken(authToken string) Option + func WithEncryption(key string) Option + func WithReadYourWrites(readYourWrites bool) Option + func WithRemoteEncryption(key string) Option + func WithSyncInterval(interval time.Duration) Option + type ParamsInfo struct + NamedParameters []string + PositionalParametersCount int + type Replicated struct + FrameNo int + FramesSynced int