ingest

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func New

func New(rawURL, token string, timeout time.Duration) (*Client, error)

func (*Client) Submit

func (c *Client) Submit(ctx context.Context, input Request) (*Result, error)

type Request

type Request struct {
	JobID         string
	NZBPath       string
	ReleaseName   string
	TorrentHash   string
	SourceTracker string
	SourceSize    int64
	PostedAt      time.Time
	WorkerNodeID  string
	Password      string
	PestoVersion  string
	Obfuscated    bool
	Encrypted     bool
	HasPAR2       bool
}

type Result

type Result struct {
	SubmissionID string
	ReleaseID    string
	Created      bool
}

Jump to

Keyboard shortcuts

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