Изменил(а) на 'accounting/accounting.proto'
This commit is contained in:
parent
355642572c
commit
9f9d99699e
1 changed files with 8 additions and 2 deletions
|
@ -3,12 +3,18 @@ syntax = "proto3";
|
||||||
option go_package = "./accounting";
|
option go_package = "./accounting";
|
||||||
package accounting;
|
package accounting;
|
||||||
|
|
||||||
// The greeting service definition.
|
|
||||||
service Accounting {
|
service Accounting {
|
||||||
// Sends a greeting
|
|
||||||
|
// Проверка доступа права
|
||||||
rpc Allow (AllowRequest) returns (AllowReply) {}
|
rpc Allow (AllowRequest) returns (AllowReply) {}
|
||||||
|
|
||||||
|
// Изменения значения правила для пользователя/группы
|
||||||
rpc SetRule (SetRequest) returns (SetReply) {}
|
rpc SetRule (SetRequest) returns (SetReply) {}
|
||||||
|
|
||||||
|
// Присоеденение пользователя к группе
|
||||||
rpc AddGroup (AddGroupRequest) returns (AddGroupReply) {}
|
rpc AddGroup (AddGroupRequest) returns (AddGroupReply) {}
|
||||||
|
|
||||||
|
// Удаление пользователя из группы
|
||||||
rpc DelGroup (DelGroupRequest) returns (DelGroupReply) {}
|
rpc DelGroup (DelGroupRequest) returns (DelGroupReply) {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue