Commit 1ab3595a authored by suyanlong's avatar suyanlong

rename field

parent 8fe096b0
......@@ -52,8 +52,8 @@ rule = "info"
[router]
enable = false
RouteMethod = "single"
RouteMethodArg = []
route_method = "single"
route_method_arg = []
[[appchains]]
......
......@@ -30,8 +30,8 @@ type Config struct {
type Router struct {
Enable bool `toml:"enable" json:"enable,omitempty"`
RouteMethod string `toml:"routeMethod" json:"routeMethod,omitempty"`
RouteMethodArg []string `toml:"routeMethodArg" json:"routeMethodArg,omitempty"`
RouteMethod string `toml:"route_method" json:"route_method,omitempty"`
RouteMethodArg []string `toml:"route_method_arg" json:"route_method_arg,omitempty"`
}
type Peer struct {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment