Add shadowsocksr outbound

This commit is contained in:
世界
2022-09-12 17:30:54 +08:00
parent ce567ffdde
commit 9913e0e025
18 changed files with 301 additions and 51 deletions

View File

@@ -19,6 +19,9 @@ type Plugin interface {
var plugins map[string]PluginConstructor
func RegisterPlugin(name string, constructor PluginConstructor) {
if plugins == nil {
plugins = make(map[string]PluginConstructor)
}
plugins[name] = constructor
}