Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*cfg)
Option represents Service constructor option.
func WithInternalService ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service implements Head operation of Object service v2.
func NewService ¶
NewService constructs Service instance from provided options.
func (*Service) Head ¶
func (s *Service) Head(ctx context.Context, req *objectV2.HeadRequest) (*objectV2.HeadResponse, error)
Head calls internal service and returns v2 object header.
Click to show internal directories.
Click to hide internal directories.