added nats + worker modules

This commit is contained in:
2025-12-19 09:59:00 -05:00
parent b457c74d49
commit ca758cc708
12 changed files with 559 additions and 31 deletions

17
auth/auth0/options.go Normal file
View File

@@ -0,0 +1,17 @@
package auth0
import "log/slog"
type Option func(deps *Config)
func WithLogger(l *slog.Logger) Option {
return func(cfg *Config) {
cfg.Logger = l
}
}
func WithSessions(s SessionManager) Option {
return func(cfg *Config) {
cfg.Sessions = s
}
}