20 lines
305 B
Go
20 lines
305 B
Go
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
|
|
}
|