Versions in this module Expand all Collapse all v0 v0.1.11 May 17, 2024 v0.1.9 Feb 14, 2024 Changes in this version + func DeleteDB() + func NewSQLiteDeviceRepository() contract.DeviceRepository + func NewSystemUserRepository(userDAO contract.UserDAO, userCacheService contract.UserCacheService) contract.UserRepository + type SQLiteDeviceRepository struct + func (r *SQLiteDeviceRepository) CountAll(ctx context.Context) (int, error) + func (r *SQLiteDeviceRepository) CountByUsername(ctx context.Context, username string) (int, error) + func (r *SQLiteDeviceRepository) DeleteByUsername(ctx context.Context, username string) error + func (r *SQLiteDeviceRepository) Exists(ctx context.Context, device *entity.Device) bool + func (r *SQLiteDeviceRepository) ListAll(ctx context.Context) ([]*entity.Device, error) + func (r *SQLiteDeviceRepository) ListByUsername(ctx context.Context, username string) ([]*entity.Device, error) + func (r *SQLiteDeviceRepository) Save(ctx context.Context, device *entity.Device) error