Reconstruct config (#2098)

* refactoring config

* Update by comments
This commit is contained in:
yuyulei authored and GitHub committed 2021-01-26 11:31:08 +08:00
1 parent a821db3f45
commit 3621aad1c1
31 files changed
+2798 -1690

No files matched your search

+5 -5
View File
@@ -28,11 +28,11 @@ import (
)
type HTTPPluginOptions struct {
Name string
Addr string
Path string
Ops []string
TLSVerify bool
Name string `ini:"name"`
Addr string `ini:"addr"`
Path string `ini:"path"`
Ops []string `ini:"ops"`
TLSVerify bool `ini:"tls_verify"`
}
type httpPlugin struct {