engine

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2026 License: MIT Imports: 30 Imported by: 0

Documentation

Overview

Package engine wraps anacrolix/torrent to provide the EngineManager and Engine interfaces declared in internal/types. It creates a single dual-stack (IPv4+IPv6, TCP+uTP, BEP32 DHT) torrent Client and exposes idempotent torrent management over it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg types.Config) (types.EngineManager, error)

New creates a dual-stack anacrolix torrent Client and returns an EngineManager. ListenPort 0 lets the OS assign a port. CacheRoot is where piece data is stored.

Types

This section is empty.

Jump to

Keyboard shortcuts

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