MCPcopy Index your code
hub / github.com/glauth/glauth / databaseHandler

Struct databaseHandler

v2/pkg/plugins/basesqlhandler.go:47–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47type databaseHandler struct {
48 backend config.Backend
49 log *zerolog.Logger
50 cfg *config.Config
51 yubikeyAuth *yubigo.YubiAuth
52 sqlBackend SqlBackend
53 database database
54 MemGroups []config.Group
55 ldohelper handler.LDAPOpsHelper
56 attmatcher *regexp.Regexp
57
58 tracer trace.Tracer
59}
60
61func NewDatabaseHandler(sqlBackend SqlBackend, opts ...handler.Option) handler.Handler {
62 options := handler.NewOptions(opts...)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected