Package-level declarations

Types

Link copied to clipboard

Feature for Tegral AppDefaults. Adds related services to the environment.

Link copied to clipboard

Implementation of DefaultsModule for the default "primary" KtorApplication (i.e. the application with name null)

Link copied to clipboard

A basic implementation of KtorApplication that uses sane defaults.

Link copied to clipboard
abstract class DefaultsModule(appName: String?) : KtorModule

Abstract module that applies the AppDefaults configuration for Ktor applications.

Link copied to clipboard

A simple service that keeps the JVM running.

Link copied to clipboard

A service that automatically calls env.services.stopAll() on the environment when a shutdown hook is received from the JVM.

Link copied to clipboard

The default configuration object for tegral.toml files.

Functions

Link copied to clipboard

Applies sensible, default settings for logging. Should only be used to get a "base" configuration on top of Logback. Do not use this if you have your own logback.xml file.

Link copied to clipboard
fun ObjectMapper.defaultTegralConfiguration()

Applies the AppDefaults configuration for Jackson. This configuration simply