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 ¶
func WithInternalService(v *rangehashsvc.Service) Option
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service implements GetRangeHash operation of Object service v2.
func NewService ¶
NewService constructs Service instance from provided options.
func (*Service) GetRangeHash ¶
func (s *Service) GetRangeHash(ctx context.Context, req *objectV2.GetRangeHashRequest) (*objectV2.GetRangeHashResponse, error)
Head calls internal service and returns v2 object header.
Click to show internal directories.
Click to hide internal directories.