Documentation
¶
Index ¶
- type Repo
- func (r *Repo) CompleteSetup(ctx context.Context) error
- func (r *Repo) Get(ctx context.Context) (domain.SystemSettings, error)
- func (r *Repo) GetForUpdate(ctx context.Context) (domain.SystemSettings, error)
- func (r *Repo) SetSetupToken(ctx context.Context, tokenHash string, issuedAt time.Time) error
- func (r *Repo) UpdateAuthMethods(ctx context.Context, passwordEnabled, telegramEnabled bool) error
- func (r *Repo) UpdateRegistrationMode(ctx context.Context, mode domain.RegistrationMode) error
- func (r *Repo) WithTx(tx *sql.Tx) repository.SystemSettingsRepo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
func (*Repo) GetForUpdate ¶
func (*Repo) SetSetupToken ¶
func (*Repo) UpdateAuthMethods ¶
func (*Repo) UpdateRegistrationMode ¶
func (*Repo) WithTx ¶
func (r *Repo) WithTx(tx *sql.Tx) repository.SystemSettingsRepo
Click to show internal directories.
Click to hide internal directories.