Type Alias Configuration

Source
pub type Configuration = Configuration;

Aliased Type§

pub struct Configuration {
    pub metadata: Metadata,
    pub logging: Logging,
    pub core: Core,
    pub udp_trackers: Option<Vec<UdpTracker>>,
    pub http_trackers: Option<Vec<HttpTracker>>,
    pub http_api: Option<HttpApi>,
    pub health_check_api: HealthCheckApi,
}

Fields§

§metadata: Metadata

Configuration metadata.

§logging: Logging

Logging configuration

§core: Core

Core configuration.

§udp_trackers: Option<Vec<UdpTracker>>

The list of UDP trackers the tracker is running. Each UDP tracker represents a UDP server that the tracker is running and it has its own configuration.

§http_trackers: Option<Vec<HttpTracker>>

The list of HTTP trackers the tracker is running. Each HTTP tracker represents a HTTP server that the tracker is running and it has its own configuration.

§http_api: Option<HttpApi>

The HTTP API configuration.

§health_check_api: HealthCheckApi

The Health Check API configuration.