You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: