Commit Graph

5 Commits (0bec84b137c6d4f7780676dc86b959b03f98ecd6)

Author SHA1 Message Date
Justin Reichardt 0bec84b137 Added webserver flag for starting one
Later when the testing is done, the webserver will be enabled by default in the
config. This will allow the user to decide which mode they want to use.
2023-03-06 19:04:44 -06:00
Justin Reichardt 2a7cec0008 Added the webserver option to the config
This allows turning the web server on or off
2023-03-06 19:04:44 -06:00
Justin Reichardt 2ae0f15b82 serve now pulls config and config panics if it fails to create
Had to also add var to allow serve to pull certs

If it cannot manage the config it needs to exit, so it made more sense to add it
there then check every time it is called
2023-03-06 19:04:44 -06:00
Justin Reichardt e1c576f2a1 Performed some cleanup
Mostly go formatting but a little creative spacing and comments
2023-03-06 19:04:44 -06:00
Justin Reichardt 75207c51df Added a simple http server
This will later be used for serving false content
2023-03-06 19:04:44 -06:00