container: Provide way to get nonce #261

Open
opened 2025-12-28 18:07:36 +00:00 by sami · 0 comments
Owner

Originally created by @cthulhu-rider on GitHub (Dec 10, 2024).

https://pkg.go.dev/github.com/nspcc-dev/neofs-sdk-go/container#Container.Init sets nspcc-dev/neofs-api@e66b25d4bf/container/types.proto (L24). Then the field is inaccessible

Describe the solution you'd like

func (Container) Nonce() uuid.UUID

optionally:

func (*Container) SetNonce(uuid.UUID)

Describe alternatives you've considered

keep under the hood

Additional context

Client testing

Originally created by @cthulhu-rider on GitHub (Dec 10, 2024). ## Is your feature request related to a problem? Please describe. https://pkg.go.dev/github.com/nspcc-dev/neofs-sdk-go/container#Container.Init sets https://github.com/nspcc-dev/neofs-api/blob/e66b25d4bf2afc4472023e1e2c2467f694f5a0e1/container/types.proto#L24. Then the field is inaccessible ## Describe the solution you'd like ```go func (Container) Nonce() uuid.UUID ``` optionally: ```go func (*Container) SetNonce(uuid.UUID) ``` ## Describe alternatives you've considered keep under the hood ## Additional context `Client` testing
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-sdk-go#261
No description provided.