Versions in this module Expand all Collapse all v1 v1.2.0 Dec 4, 2022 v1.1.0 Nov 23, 2022 Changes in this version + type BeforeInsertCallback func(map[any]any) map[any]any v1.0.0 Nov 14, 2022 Changes in this version + type JSync struct + L zerolog.Logger + func New(cfg *config.JetimobCfg, version string) (*JSync, error) + func (j *JSync) ForEachTenant(f func() error) error + func (j *JSync) SetCurrentTenant(t config.TenantMapping) + func (j JSync) Config() *config.JetimobCfg + func (j JSync) Db() *db.Db + func (j JSync) GetBannersTable() string + func (j JSync) GetBrokersTable() string + func (j JSync) GetCondominiumsTable() string + func (j JSync) GetPropertiesTable() string + func (j JSync) GetTenants() []config.TenantMapping + func (j JSync) MarkPropertiesAsActive(tx *sql.Tx, ids []int) error + func (j JSync) Requester() *http.Requester + func (j JSync) SyncActiveProperties(tx *sql.Tx) error + func (j JSync) SyncAll() error + func (j JSync) SyncBanners(tx *sql.Tx) error + func (j JSync) SyncBrokers(tx *sql.Tx) error + func (j JSync) SyncCondominiums(tx *sql.Tx) error + func (j JSync) SyncProperties(tx *sql.Tx) error