fixed mistakes

This commit is contained in:
2023-05-18 12:56:37 +02:00
parent cb6d26a7cc
commit bc578cf25c
4 changed files with 9 additions and 9 deletions

View File

@@ -26,7 +26,7 @@ func server() error {
serv := dsrpc.NewService()
cont := NewController()
serv.Handler(api.HelloMethod, cont.HelloHandler)
serv.Handle(api.HelloMethod, cont.HelloHandler)
serv.PreMiddleware(dsrpc.LogRequest)
serv.PostMiddleware(dsrpc.LogResponse)