|
package app
|
|
|
|
import (
|
|
proto "${REPO_NAME_SNAKE}/proto"
|
|
"context"
|
|
)
|
|
|
|
type Server struct {
|
|
proto.UnimplementedCRMServer
|
|
}
|
|
|
|
func NewServer() *Server {
|
|
return &Server{}
|
|
}
|
|
|
|
func (s *Server) Ping(_ context.Context, _ *proto.PingReq) (*proto.PingRsp, error) {
|
|
return &proto.PingRsp{}, nil
|
|
}
|