timoth-y/kicksware-api

View on GitHub
service-protos/interact.proto

Summary

Maintainability
Test Coverage
syntax = "proto3";

package proto;

option go_package = "go.kicksware.com/api/services/users/api/gRPC/proto";
option csharp_namespace = "Proto";

message LikeRequest {
  string userID = 1;
  string entityID = 2;
}

message LikeResponse {
  bool success = 1;
  string error = 2;
}

service InteractService {
  rpc Like(LikeRequest) returns (LikeResponse);
  rpc Unlike(LikeRequest) returns (LikeResponse);
}