client

package
v0.0.0-...-f883b83 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2026 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   domain.ClientName
	DataPath     domain.DataPath
	Config       domain.ClientConfig
	DatabaseInfo domain.DatabaseInfo
	Files        domain.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() (domain.SyncToActions, error)

func (Client) GetDataPath

func (c Client) GetDataPath() domain.DataPath

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

func (Client) SetDataPath

func (c Client) SetDataPath(dataPath domain.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