rename ngin to rest
This commit is contained in:
@@ -42,7 +42,7 @@ func main() {
|
||||
var c rpcx.RpcClientConf
|
||||
conf.MustLoad(*configFile, &c)
|
||||
client = rpcx.MustNewClient(c)
|
||||
engine := rest.MustNewEngine(rest.RtConf{
|
||||
engine := rest.MustNewServer(rest.RestConf{
|
||||
ServiceConf: service.ServiceConf{
|
||||
Log: logx.LogConf{
|
||||
Mode: "console",
|
||||
|
||||
Reference in New Issue
Block a user