Module telescope::env[][src]

Structs

CONFIG

Global web server configuration.

CommandLine

Stores the configuration of the telescope server. An instance of this is created and stored in a lazy static before the server is launched.

ConcreteConfig

A concrete config found by searching the specified profile and parents for items from the narrowest up.

DiscordConfig
GithubOauthConfig

Credentials granted by GitHub for the OAuth application. Generated these by creating an application at https://github.com/settings/applications/new/.

TelescopeConfig

The config of the server instance.

Functions

cli

Digest and handle arguments from the command line. Read arguments from environment variables where necessary. Construct and return the configuration specified. Initializes logging and returns config.

global_config

Get the global configuration.

init

After the global configuration is initialized, log it as info.