add server

This commit is contained in:
2024-11-09 18:18:51 +07:00
parent 93e9f98b5b
commit d566529a90
10 changed files with 163 additions and 54 deletions
+19
View File
@@ -0,0 +1,19 @@
package app
import (
"context"
proto "git.3crabs.ru/save_my_money/smm_core/proto"
)
type Server struct {
proto.UnsafeSmmCoreServer
}
func NewServer() *Server {
return &Server{}
}
func (s *Server) Ping(_ context.Context, _ *proto.PingReq) (*proto.PingRsp, error) {
return &proto.PingRsp{}, nil
}