Documentation
¶
Index ¶
- func CheckSchemaVersion(store *store.Store, required int) error
- func NewCache(cfg *config.Config) (cache.Cache, error)
- func NewHTTPServer(app *App, version string) (*httpserver.Server, error)
- func NewLogger(cfg *config.Config) (*slog.Logger, error)
- func NewStore(cfg *config.Config) (*store.Store, error)
- type App
- type Services
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHTTPServer ¶ added in v0.1.21
func NewHTTPServer(app *App, version string) (*httpserver.Server, error)
Types ¶
type App ¶ added in v0.1.21
type App struct {
Config *config.Config
Logger *slog.Logger
Store *store.Store
Cache cache.Cache
Services Services
}
func (*App) StartBackgroundWorkers ¶ added in v0.1.21
type Services ¶ added in v0.1.21
type Services struct {
Admin *admin.Service
Auth *auth.Service
Passkeys *passkey.Service
Session *session.Service
Challenge *challenge.Service
Verification *challenge.VerificationCodeService
EmailWorker *challenge.Worker
OAuthProviders oauth.OAuthProviders
}
func NewServices ¶ added in v0.1.21
Click to show internal directories.
Click to hide internal directories.