We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
对每个代理,应该定义一个Interface,然后提供一个注册函数。这样只要别人实现了代理插件并进行注册,然后重新编译一下代码,就可以使用新的代理。这样方式,不用修改原包的代码,只需要添加一个导入语句即可,如:
import _ "github.com/someone/proxy-pool-plugin"
The text was updated successfully, but these errors were encountered:
很好的建议,抽空来改一下,谢谢
Sorry, something went wrong.
No branches or pull requests
对每个代理,应该定义一个Interface,然后提供一个注册函数。这样只要别人实现了代理插件并进行注册,然后重新编译一下代码,就可以使用新的代理。这样方式,不用修改原包的代码,只需要添加一个导入语句即可,如:
The text was updated successfully, but these errors were encountered: