syntax = "proto3"; import "google/protobuf/struct.proto"; package process.v1; option go_package = "com.dingshudata/football-manager/pkg/grpc/process/v1;processv1"; message MatchMessage { repeated string names = 1; int64 homeTeamId = 2; int64 visitingTeamID = 3; google.protobuf.ListValue event = 4; } message TeamStatisticalResult { google.protobuf.ListValue result = 1; } message PlayerStatisticalResult { google.protobuf.ListValue result = 1; } message PassingMatrixResult { google.protobuf.ListValue result = 1; } message PassGraphResult { google.protobuf.ListValue result = 1; } message XmlMessage { int64 matchId = 1; } message XmlResult { string status = 1; } service Statistics { rpc RunTeamStatistics (MatchMessage) returns (TeamStatisticalResult) { }; rpc RunPlayerStatistics (MatchMessage) returns (PlayerStatisticalResult) { }; rpc RunPassingMatrix (MatchMessage) returns (PassingMatrixResult) { }; rpc RunPassGraph (MatchMessage) returns (PassGraphResult) { }; rpc RunCreateXml (XmlMessage) returns (XmlResult) {}; }