[#643] pkg: Sync method names and commentaries to them

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2021-06-23 16:29:46 +03:00 committed by Alex Vanin
parent 25391111ad
commit 48827f42d3
33 changed files with 41 additions and 41 deletions

View file

@ -41,7 +41,7 @@ func (p *PutSizeArgs) SetReporterKey(v []byte) {
p.reporterKey = v
}
// Put invokes the call of put container method
// PutSize invokes the call of put container size method
// of NeoFS Container contract.
func (c *Client) PutSize(args PutSizeArgs) error {
err := c.client.Invoke(

View file

@ -278,7 +278,7 @@ type Estimation struct {
Reporter []byte
}
// Estimation is a structure of grouped container load estimation inside Container contract.
// Estimations is a structure of grouped container load estimation inside Container contract.
type Estimations struct {
ContainerID *cid.ID

View file

@ -31,7 +31,7 @@ func defaultOpts() *opts {
return new(opts)
}
// TryNotaryInvoke returns option to enable
// TryNotary returns option to enable
// notary invocation tries.
func TryNotary() Option {
return func(o *opts) {