deletesvc

package
v0.12.0-rc3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2020 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*cfg)

func WitHeadService

func WitHeadService(v *headsvc.Service) Option

func WithKeyStorage

func WithKeyStorage(v *objutil.KeyStorage) Option

func WithLinkingHeader

func WithLinkingHeader(v RelationHeader) Option

func WithOwnerID

func WithOwnerID(v *owner.ID) Option

func WithPutService

func WithPutService(v *putsvc.Service) Option

type Prm

type Prm struct {
	// contains filtered or unexported fields
}

func (*Prm) WithAddress

func (p *Prm) WithAddress(v *object.Address) *Prm

func (*Prm) WithCommonPrm

func (p *Prm) WithCommonPrm(v *util.CommonPrm) *Prm

type RelationHeader

type RelationHeader interface {
	HeadRelation(context.Context, *objectSDK.Address, *objutil.CommonPrm) (*object.Object, error)
}

type Response

type Response struct{}

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(opts ...Option) *Service

func (*Service) Delete

func (s *Service) Delete(ctx context.Context, prm *Prm) (*Response, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL