Documentation
¶
Index ¶
- Constants
- type Client
- func (c Client) CreateNewCache() error
- func (c Client) CreateNewTmpCache() (string, *sql.DB, func(), error)
- func (c Client) GetChanges() (domain.SyncToActions, error)
- func (c Client) GetDataPath() domain.DataPath
- func (c Client) GetDatabaseInfo() domain.DatabaseInfo
- func (c Client) GetFiles() domain.ClientFiles
- func (c Client) Name() domain.ClientName
- func (c Client) ReferenceDB() string
- func (c Client) SetDataPath(dataPath domain.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 domain.ClientName
DataPath domain.DataPath
Config domain.ClientConfig
DatabaseInfo domain.DatabaseInfo
Files domain.ClientFiles
}
func (Client) CreateNewCache ¶
func (Client) CreateNewTmpCache ¶
Not exposed in interface
func (Client) GetChanges ¶
func (c Client) GetChanges() (domain.SyncToActions, error)
func (Client) GetDataPath ¶
func (Client) GetDatabaseInfo ¶
func (c Client) GetDatabaseInfo() domain.DatabaseInfo
func (Client) GetFiles ¶
func (c Client) GetFiles() domain.ClientFiles
func (Client) Name ¶
func (c Client) Name() domain.ClientName
func (Client) ReferenceDB ¶
func (Client) SetDataPath ¶
Click to show internal directories.
Click to hide internal directories.