forked from TrueCloudLab/frostfs-api
[#32] accounting: Remove gogoproto from typedef
There is a need to remove gogoproto usage from NeoFS API since this plugin is not cross-language. This commit removes usage from BalanceRequest message. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
54319feb4a
commit
5cca1fd469
1 changed files with 2 additions and 5 deletions
|
@ -7,9 +7,6 @@ import "service/meta.proto";
|
||||||
import "service/verify.proto";
|
import "service/verify.proto";
|
||||||
import "decimal/decimal.proto";
|
import "decimal/decimal.proto";
|
||||||
import "refs/types.proto";
|
import "refs/types.proto";
|
||||||
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
|
||||||
|
|
||||||
option (gogoproto.stable_marshaler_all) = true;
|
|
||||||
|
|
||||||
// Accounting is a service that provides access for accounting balance
|
// Accounting is a service that provides access for accounting balance
|
||||||
// information
|
// information
|
||||||
|
@ -22,9 +19,9 @@ message BalanceRequest {
|
||||||
// OwnerID carries user identifier in NeoFS system.
|
// OwnerID carries user identifier in NeoFS system.
|
||||||
refs.OwnerID OwnerID = 1;
|
refs.OwnerID OwnerID = 1;
|
||||||
// RequestMetaHeader contains information about request meta headers (should be embedded into message)
|
// RequestMetaHeader contains information about request meta headers (should be embedded into message)
|
||||||
service.RequestMetaHeader Meta = 98 [(gogoproto.embed) = true, (gogoproto.nullable) = false];
|
service.RequestMetaHeader Meta = 98;
|
||||||
// RequestVerificationHeader is a set of signatures of every NeoFS Node that processed request (should be embedded into message)
|
// RequestVerificationHeader is a set of signatures of every NeoFS Node that processed request (should be embedded into message)
|
||||||
service.RequestVerificationHeader Verify = 99 [(gogoproto.embed) = true, (gogoproto.nullable) = false];
|
service.RequestVerificationHeader Verify = 99;
|
||||||
}
|
}
|
||||||
|
|
||||||
message BalanceResponse {
|
message BalanceResponse {
|
||||||
|
|
Loading…
Reference in a new issue