relay-server/grpcserver/control.go
2025-12-23 16:38:32 +03:00

19 lines
357 B
Go

package grpcserver
import (
"context"
controlpb "relay/proto/control"
)
type ControlServiceImpl struct {
controlpb.UnimplementedControlServiceServer
}
func (s *ControlServiceImpl) RegisterDevice(
ctx context.Context,
req *controlpb.RegisterRequest,
) (*controlpb.RegisterResponse, error) {
return &controlpb.RegisterResponse{Success: true}, nil
}