Crate apollo_framework[][src]

The Apollo framework is a toolkit for building stable and robust server software.

Apollo was extracted out of Jupiter to make its core parse usable by other libraries or applications.

Apollo provides a small dependency injection helper called Platform* along with some tooling to setup logging, format messages and to react on signals. This is commonly required to properly run inside a Docker container.

Modules

average

Provides a helper which computes a average of a series of values.

config

Contains the system configuration.

fmt

Provides formatting helpers for durations and byte sizes.

platform

Provides a tiny DI like container to expose all components of the system.

server

Contains the server component of Apollo.

signals

Installs a signal handler which terminates the platform in CTRL+C or SIGHUP.

Constants

APOLLO_REVISION

Contains the git commit hash of the Apollo build being used.

APOLLO_VERSION

Contains the version of the Apollo framework.

Functions

init_logging

Initializes the logging system.