refactor: migrate LDAP sync to an actor (#1651)

Co-authored-by: Kyle Mendell <kmendell@ofkm.us>
This commit is contained in:
Alessandro (Ale) Segala
2026-08-07 09:18:30 -07:00
committed by GitHub
co-authored by Kyle Mendell
parent f8db1d8a86
commit 563c0f93a6
27 changed files with 627 additions and 181 deletions
+3 -2
View File
@@ -7,6 +7,7 @@ import (
"github.com/gin-gonic/gin"
"github.com/pocket-id/pocket-id/backend/internal/appconfig"
"github.com/pocket-id/pocket-id/backend/internal/dto"
"github.com/pocket-id/pocket-id/backend/internal/httpserver"
"github.com/pocket-id/pocket-id/backend/internal/utils/cookie"
@@ -15,10 +16,10 @@ import (
type handler struct {
service *Service
baseURL string
appConfig AppConfigProvider
appConfig appconfig.AppConfigResolver
}
func newHandler(service *Service, baseURL string, appConfig AppConfigProvider) *handler {
func newHandler(service *Service, baseURL string, appConfig appconfig.AppConfigResolver) *handler {
return &handler{
service: service,
baseURL: baseURL,