Auth.core is a package to deal with password encoding, and validation.
config/core provides functions to deal with environment variables and config.edn files.
Database handling functions.
Migratus wrapper to get rid of lein migratus plugin. As well as support profile dependent configuration of migratus.
Migratus wrapper to support profile based separation of data seeding
Start function, which gets the data source based on given configuration. Query executor functions and the db-access interceptor.
Some default interceptors and helpers.
Collection of interceptors, like:
- log
- side-effect
- view
- params
- message
- session-user-id
- session-user-role
- muuntaja
Default settings, and format instance of content negotiation.
The queue is the interceptor executor. It contains all functions necessary to the handler to deal with interceptors and interceptor overrides.
With interceptor wrapper you can use any kind of interceptors and middlewares with xiana provided flow.
Helps you to send an email message based on configuration.
Wrapper package for tiny-RBAC lib. It initializes role-set and gathers permissions from the actual state. It contains an interceptor too, to deal with permissions and restrictions.
Contains all functions to deal with route dependent functionality. Uses reitit matcher and router. Collects request-data for processing it via controller interceptors and action.
Repeated function execution. The function gets :deps
as parameter.
Server-sent events implementation based on HTTP-kit's Channel protocol.
Contains Session protocol definition, an in-memory, and persistent (postgres) session backend, and the session interceptor.
In handler-fn it creates the initial state for request execution.
Starts a jetty server with the default handler, provides the dependencies to the handler function.