Documentation ¶
Index ¶
- Constants
- type Client
- func (c Client) CreateNewCache() error
- func (c Client) CreateNewTmpCache() (string, *sql.DB, func(), error)
- func (c Client) GetChanges() (models.SyncToActions, error)
- func (c Client) GetDataPath() models.DataPath
- func (c Client) GetDatabaseInfo() models.DatabaseInfo
- func (c Client) GetFiles() models.ClientFiles
- func (c Client) Name() models.ClientName
- func (c Client) ReferenceDB() string
- func (c Client) SetDataPath(dataPath models.DataPath)
- func (c Client) UserDB() string
Constants ¶
View Source
const (
SQLiteDriver string = "sqlite3"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { ClientName models.ClientName DataPath models.DataPath Config models.ClientConfig DatabaseInfo models.DatabaseInfo Files models.ClientFiles }
func (Client) CreateNewCache ¶
func (Client) CreateNewTmpCache ¶
Not exposed in interface
func (Client) GetChanges ¶
func (c Client) GetChanges() (models.SyncToActions, error)
func (Client) GetDataPath ¶
func (Client) GetDatabaseInfo ¶
func (c Client) GetDatabaseInfo() models.DatabaseInfo
func (Client) GetFiles ¶
func (c Client) GetFiles() models.ClientFiles
func (Client) Name ¶
func (c Client) Name() models.ClientName
func (Client) ReferenceDB ¶
func (Client) SetDataPath ¶
Click to show internal directories.
Click to hide internal directories.