aboutsummaryrefslogtreecommitdiff
path: root/internal/adminpb/internal.proto
blob: 82c57ec13414243a974f9d573148eb1940b9fc58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
syntax = "proto3";
package xeiaso.net.internal;
option go_package = "xeiaso.net/v4/internal/adminpb";

import "google/protobuf/empty.proto";
import "google/protobuf/timestamp.proto";
import "xesite.proto";

service Patreon { rpc GetToken(google.protobuf.Empty) returns (PatreonToken); }

message PatreonToken {
  string access_token = 1;
  string token_type = 2;
  string refresh_token = 3;
  google.protobuf.Timestamp expiry = 4;
}

service Admin {
  rpc Rebuild(google.protobuf.Empty) returns (xeiaso.net.BuildInfo);
}