smm_core/internal/app/server.go

20 lines
305 B
Go
Raw Normal View History

2024-11-09 11:18:51 +00:00
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
}