Versions in this module Expand all Collapse all v0 v0.2.1 Jul 1, 2026 v0.1.0 Jun 29, 2026 Changes in this version + type AccountController struct + func NewAccountController(account ports.AccountRepository) *AccountController + func (c *AccountController) Create(ctx context.Context, account *models.Account) error + func (c *AccountController) Delete(ctx context.Context, account *models.Account) error + func (c *AccountController) Get(ctx context.Context, account *models.Account) error + func (c *AccountController) GetCurrent(ctx context.Context, account *models.Account) error + func (c *AccountController) List(ctx context.Context, accounts *[]models.Account) error + func (c *AccountController) Update(ctx context.Context, account *models.Account) error + type DeviceAuthController struct + func NewDeviceAuthController(deviceAuthRepo ports.DeviceAuthRepository, accountRepo ports.AccountRepository) *DeviceAuthController + func (c *DeviceAuthController) Begin(ctx context.Context) (*models.DeviceAuth, error) + func (c *DeviceAuthController) Finish(ctx context.Context, deviceAuth *models.DeviceAuth) (*models.Account, error) + type SitesController struct + func NewSitesController(sitesRepo ports.SitesRepository) *SitesController + func (c *SitesController) Create(ctx context.Context, site *models.Site) error + func (c *SitesController) Delete(ctx context.Context, site *models.Site) error + func (c *SitesController) Exists(ctx context.Context, site *models.Site) (bool, error) + func (c *SitesController) Get(ctx context.Context, site *models.Site) error + func (c *SitesController) UploadFile(ctx context.Context, site *models.Site, file string) error