import Configuration extension ConfigKey { /// A namespace for the HTTP server configuration keys. public enum HTTP { /// The configuration key for the host the server binds to. public static let host: ConfigKey = "http.host" /// The configuration key for the port the server listens on. public static let port: ConfigKey = "http.port" /// The configuration key for the server's name. public static let serverName: ConfigKey = "http.serverName" } /// A namespace for the logging configuration keys. public enum Log { /// The configuration key for the minimum log level. public static let level: ConfigKey = "log.level" } /// A namespace for the path configuration keys. public enum Path { /// The configuration key for the directory the static files are served from. public static let staticFiles: ConfigKey = "path.staticFiles" } }