From 0773cba6c734043d607677af9e2aeeb8f714d355 Mon Sep 17 00:00:00 2001 From: Rhys Lloyd Date: Sun, 21 Sep 2025 17:35:09 -0700 Subject: [PATCH] bot_analyzer: directly accept download url --- bot_analyzer.proto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot_analyzer.proto b/bot_analyzer.proto index 7da7564..4e3afd0 100644 --- a/bot_analyzer.proto +++ b/bot_analyzer.proto @@ -4,8 +4,8 @@ option go_package = "git.itzana.me/strafesnet/go-grpc/bot_analyzer"; package bot_analyzer; -service BotAnalyzer { rpc Analyze(FileID) returns (AnalysisResponse); } +service BotAnalyzer { rpc Analyze(DownloadUrl) returns (AnalysisResponse); } -message FileID { string FileID = 1; } +message DownloadUrl { string Url = 1; } message AnalysisResponse { string Analysis = 1; }