adminsettings

package
v1.0.21 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package adminsettings implements AdminSystemSettingsService — an administrator's view over the same single-row global instance configuration the first-run setup wizard (internal/service/v1/setupwizard) edits pre-setup, exposed post-setup for an admin to revisit.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func New(settingsRepo repository.SystemSettingsRepo) *Service

func (*Service) GetSettings

func (s *Service) GetSettings(ctx context.Context) (domain.SystemSettings, error)

func (*Service) UpdateAuthMethods

func (s *Service) UpdateAuthMethods(ctx context.Context, passwordEnabled, telegramEnabled bool) error

func (*Service) UpdateRegistrationMode

func (s *Service) UpdateRegistrationMode(ctx context.Context, mode domain.RegistrationMode) error

Jump to

Keyboard shortcuts

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