diff options
| author | Xe Iaso <me@xeiaso.net> | 2025-01-11 16:53:04 -0500 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2025-01-11 16:53:04 -0500 |
| commit | f313a12d72101ba74032c84d6785ad51c6bb7601 (patch) | |
| tree | 0cc37effbc217c07b6d1ac5c352f3b0611d6c92c /buf/patchouli/patchouli.proto | |
| parent | 883434d8f85936f46565fcd40f84eaf65027d79f (diff) | |
| download | x-f313a12d72101ba74032c84d6785ad51c6bb7601.tar.xz x-f313a12d72101ba74032c84d6785ad51c6bb7601.zip | |
fix builds oops
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'buf/patchouli/patchouli.proto')
| -rw-r--r-- | buf/patchouli/patchouli.proto | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/buf/patchouli/patchouli.proto b/buf/patchouli/patchouli.proto new file mode 100644 index 0000000..cfd7bcf --- /dev/null +++ b/buf/patchouli/patchouli.proto @@ -0,0 +1,32 @@ +syntax = "proto3"; +package within.website.x.patchouli; +option go_package = "within.website/x/buf/patchouli"; + +import "google/protobuf/timestamp.proto"; + +service Syndicate { + rpc Info(TwitchInfoReq) returns (TwitchInfoResp) {}; + rpc Download(TwitchDownloadReq) returns (TwitchDownloadResp) {}; +} + +message TwitchInfoReq { + string url = 1; +} + +message TwitchInfoResp { + string id = 1; + string title = 2; + string thumbnail_url = 3; + string duration = 4; + google.protobuf.Timestamp upload_date = 5; + string url = 6; +} + +message TwitchDownloadReq { + string url = 1; +} + +message TwitchDownloadResp { + string url = 1; + string location = 2; +}
\ No newline at end of file |
