# Packages
No description provided by the author
# Functions
AttachWatcher start the watcher, if any error was produced while the starting process the application would crash you need to pass a function, this function is the function that will be executed when the watcher receive any event the type of defined on the InitializeWatcher function.
InitializeWatcher initialize a watcher to check for modification on all files in the given path to watch.
NewConfig initialize the config.
StringToProxyMode convert string into a ProxyMode if not exists return a none mode and an error.
WithConfigFile unmarshal content of config file to Config struct.
WithProxyConfiguration preparing the server with the proxy configuration that the user has indicated.
WithWatcherConfiguration preparing server to do auto-reload.
# Constants
ProxyAll all requests are proxied.
ProxyMissing handle only missing requests are proxied.
ProxyNone server is off.
# Structs
Config representation of config file yaml.
ConfigCORS representation of section CORS of the yaml.
ConfigProxy is a representation of section proxy of the yaml.