diff --git a/client/netmap.go b/client/netmap.go index cfcf8976..48d1f495 100644 --- a/client/netmap.go +++ b/client/netmap.go @@ -12,7 +12,8 @@ import ( "github.com/nspcc-dev/neofs-sdk-go/version" ) -// EACLWithSignature represents eACL table/signature pair. +// EndpointInfo represents versioned information about the node +// specified in the client. type EndpointInfo struct { version *version.Version @@ -24,7 +25,7 @@ func (e *EndpointInfo) LatestVersion() *version.Version { return e.version } -// NodeInfo returns returns information about the NeoFS node. +// NodeInfo returns information about the NeoFS node. func (e *EndpointInfo) NodeInfo() *netmap.NodeInfo { return e.ni } diff --git a/client/raw.go b/client/raw.go index e463bd59..bc98065f 100644 --- a/client/raw.go +++ b/client/raw.go @@ -11,7 +11,7 @@ func (c *Client) Raw() *client.Client { return c.raw } -// implements Client.Conn method. +// Conn implements Client.Conn method. func (c *Client) Conn() io.Closer { return c.raw.Conn() } diff --git a/client/response.go b/client/response.go index bdc23605..364c0ae3 100644 --- a/client/response.go +++ b/client/response.go @@ -19,7 +19,7 @@ func (x ResponseMetaInfo) ResponderKey() []byte { return x.key } -// WithResponseInfoHandler allows to specify handler of response meta information for the all Client operations. +// WithResponseInfoHandler allows specifying handler of response meta information for the all Client operations. // The handler is called right after the response is received. Client returns handler's error immediately. func WithResponseInfoHandler(f func(ResponseMetaInfo) error) Option { return func(opts *clientOptions) {