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 WithKeyStorage ¶ added in v0.13.0
func WithKeyStorage(ks *objutil.KeyStorage) Option
WithKeyStorage returns option to set local private key storage.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service implements Delete operation of Object service v2.
func NewService ¶
NewService constructs Service instance from provided options.
func (*Service) Delete ¶
func (s *Service) Delete(ctx context.Context, req *objectV2.DeleteRequest) (*objectV2.DeleteResponse, error)
Delete calls internal service.
Click to show internal directories.
Click to hide internal directories.