This commit is contained in:
2026-09-16 23:56:15 +07:00
parent b1ec8284b2
commit 23caa76e14
7 changed files with 264 additions and 91 deletions
+15
View File
@@ -0,0 +1,15 @@
package app
import (
"context"
proto "evening_detective_server/proto"
)
func (s *server) Ping(_ context.Context, _ *proto.PingReq) (*proto.PingRsp, error) {
return &proto.PingRsp{}, nil
}
func (s *server) Echo(_ context.Context, req *proto.EchoReq) (*proto.EchoRsp, error) {
return &proto.EchoRsp{Text: req.Text}, nil
}