client

package
v0.0.0-...-aff28e3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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 (c Client) CreateNewCache() error

func (Client) CreateNewTmpCache

func (c Client) CreateNewTmpCache() (string, *sql.DB, func(), error)

Not exposed in interface

func (Client) GetChanges

func (c Client) GetChanges() (models.SyncToActions, error)

func (Client) GetDataPath

func (c Client) GetDataPath() models.DataPath

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 (c Client) ReferenceDB() string

func (Client) SetDataPath

func (c Client) SetDataPath(dataPath models.DataPath)

func (Client) UserDB

func (c Client) UserDB() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL