From 9b63460a1c54a54e931ce7d814c661de059f7d03 Mon Sep 17 00:00:00 2001 From: Jali Date: Sat, 2 Nov 2019 11:20:25 +0100 Subject: [PATCH] added documentation --- doc/concept.md | 11 +++++++++++ src/main.rs | 3 +-- 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 doc/concept.md diff --git a/doc/concept.md b/doc/concept.md new file mode 100644 index 0000000..d0db6b0 --- /dev/null +++ b/doc/concept.md @@ -0,0 +1,11 @@ +# GOPHERBRIDGE Concept + +> Created By: Jali \ +> Created On: Sat 02 Nov 2019 11:09:12 AM CET \ +> Last Modified On: Sat 02 Nov 2019 11:09:12 AM CET \ + +## Purpose + +*Gopherbridge* is a small gopher server written in [Rust](https://www.rust-lang.org). It's goal is +to provide a pluggable service, that can host gopher sites and display them to a client, as well as +allowing the server to extract information from other websites diff --git a/src/main.rs b/src/main.rs index 57261f6..849a2d8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,7 +3,6 @@ extern crate clap; extern crate tokio; mod configuration; -mod traits; use crate::configuration::Settings; use std::net::SocketAddr; @@ -18,7 +17,7 @@ use tokio::prelude::*; fn main() { let settings = Settings::create(); - println!("Program listens on {}", settings.listen); + println!("Server listens on {}", settings.listen); println!("Loading plugins {:?}", settings.plugins); println!("Listening on port {}", settings.port);