diff --git a/client/common.go b/client/common.go index ac9feb0..0df1806 100644 --- a/client/common.go +++ b/client/common.go @@ -24,24 +24,6 @@ func (x statusRes) Status() apistatus.Status { return x.st } -// groups meta parameters shared between all Client operations. -type prmCommonMeta struct { - // FrostFS request X-Headers - xHeaders []string -} - -// WithXHeaders specifies list of extended headers (string key-value pairs) -// to be attached to the request. Must have an even length. -// -// Slice must not be mutated until the operation completes. -func (x *prmCommonMeta) WithXHeaders(hs ...string) { - if len(hs)%2 != 0 { - panic("slice of X-Headers with odd length") - } - - x.xHeaders = hs -} - func writeXHeadersToMeta(xHeaders []string, h *v2session.RequestMetaHeader) { if len(xHeaders) == 0 { return