posters

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2026 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

Package posters caches artwork on the local filesystem and serves it via HTTP. Keeps zero dependencies outside stdlib + otelx so the leaf can be imported by any package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	Fetch(ctx context.Context, kind string, id uint32, src string) error
	Serve(w http.ResponseWriter, r *http.Request, kind string, id uint32)
	Path(kind string, id uint32) string
}

Manager is the consumer-facing surface for the poster cache: fetch on movie add, serve on HTTP request, resolve cache paths.

func New

func New(dataDir string) (Manager, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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