pub fn read_config() -> Config
Expand description
Reads the config file and returns the providers
Runs the following tests:
- generic config directory path exists
- generic config directory path is a directory
- proxyster config directory path exists
- proxyster config directory path is a directory
- proxyster providers file path exists
- proxyster providers file path is a file
Then it reads the file and returns the providers