gentleman/proxy error in example and code
eGGshke opened this issue · 0 comments
eGGshke commented
cli.Use(proxy.Set([]string{"http://proxy:3128", "http://proxy2:3128"}))
This is from example but in code proxy.Set
accept map[string]string with parameters by url schema, and same proxy.
It's all nothing - but there is one nuance, map take a schema by request schema. It's not good, but you can adapt.
But map can only contain unique keys. So we can use only 1 proxy per 1 scheme. This is not good.