remove

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2019 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Removal

type Removal struct {
	DataSource  string
	MediaSource string
	Exporter    exporter.Exporter
	Dryrun      bool
	// contains filtered or unexported fields
}

func NewRemoval

func NewRemoval(ex exporter.Exporter) (*Removal, error)

func (*Removal) Remove

func (c *Removal) Remove(ctx context.Context, requests ...*RemovalRequest) error

type RemovalRequest

type RemovalRequest struct {
	Id   int64  `json:"id"`
	Repo string `json:"repo"`
}

Jump to

Keyboard shortcuts

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