main
1syntax = "proto3";
2
3package authx.rpc;
4option go_package = "gitlab.com/mokhax/spike/pkg/rpc";
5
6
7service Ability {
8 rpc Allowed (AllowRequest) returns (AllowReply) {}
9}
10
11message AllowRequest {
12 string subject = 1;
13 string permission = 2;
14 string resource = 3;
15}
16
17message AllowReply {
18 bool result = 1;
19}