rename ngin to rest
This commit is contained in:
@@ -18,7 +18,7 @@ import (
|
||||
)
|
||||
|
||||
type Config struct {
|
||||
rest.RtConf
|
||||
rest.RestConf
|
||||
}
|
||||
`
|
||||
)
|
||||
|
||||
@@ -30,7 +30,7 @@ func main() {
|
||||
|
||||
ctx := svc.NewServiceContext(c)
|
||||
|
||||
engine := rest.MustNewEngine(c.RtConf)
|
||||
engine := rest.MustNewEngine(c.RestConf)
|
||||
defer engine.Stop()
|
||||
|
||||
handler.RegisterHandlers(engine, ctx)
|
||||
|
||||
Reference in New Issue
Block a user