Merge pull request #11 from nspcc-dev/service-fix-token-message
service: remove gogoproto customname from embedded Token.Info field
This commit is contained in:
commit
54147ddad2
2 changed files with 3 additions and 3 deletions
|
@ -107,7 +107,7 @@ User token granting rights for object manipulation
|
|||
|
||||
| Field | Type | Label | Description |
|
||||
| ----- | ---- | ----- | ----------- |
|
||||
| info | [Token.Info](#service.Token.Info) | | Info is a grouped information about token |
|
||||
| TokenInfo | [Token.Info](#service.Token.Info) | | Info is a grouped information about token |
|
||||
| Signature | [bytes](#bytes) | | Signature is a signature of session token information |
|
||||
|
||||
|
||||
|
|
|
@ -68,8 +68,8 @@ message Token {
|
|||
bytes SessionKey = 7;
|
||||
}
|
||||
|
||||
// Info is a grouped information about token
|
||||
Info info = 1 [(gogoproto.embed) = true, (gogoproto.nullable) = false, (gogoproto.customname) = "Info"];
|
||||
// TokenInfo is a grouped information about token
|
||||
Info TokenInfo = 1 [(gogoproto.embed) = true, (gogoproto.nullable) = false];
|
||||
|
||||
// Signature is a signature of session token information
|
||||
bytes Signature = 8;
|
||||
|
|
Loading…
Reference in a new issue