Add configurations
Move all possible configurable parameters to config package
Is anyone working on this? Can I do it?
No one that I know of is working on this.
The main point is that wapty will load a configuration on start.
The configuration is going to contain several recent projects.
A project currently is just a list of SaveLoadStringer and should be changed to a struct containing the current list of saveloadstringer and to also contain 2 more fields: a list of strings or ints(representing ports) for the proxy to listen on and a single port for the UI to listen on.
The first list of ports is going to be used here (in the future wapty will load more than just one proxy) and the UI port is going to be used here
The config package should export functions to get the the ports configured in the currently loaded project, which you can just write a stub for, that will, for now, just return the default values.
To achieve so please make the loaded project return default values if the ports are not set.
Please let me know if it is clear, if so I'm gonna flag this as "inprogress"