vela

package
v0.3.13 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: GPL-3.0 Imports: 29 Imported by: 0

Documentation

Overview

Package vela presents the Vela v0 protocol through neutral host services.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NativeLibraryType

func NativeLibraryType(mt frontend.MediaType) string

func ProjectLibrary

func ProjectLibrary(p frontend.Presentations, fallback frontend.MediaType) (frontend.MediaType, string, bool)

Vela uses the neutral movie/show model for libraries the owner already publishes to native video clients. Console-only and adapter-only sources remain unpublished; visibility is still applied by Experience.Views.

Types

type Frontend

type Frontend struct {
	AssetsDir string
	DB        *sql.DB
	ReplayKey []byte
}

func (Frontend) Describe

func (Frontend) Describe() frontend.Descriptor

func (Frontend) Mount

func (f Frontend) Mount(ctx context.Context, host frontend.Host) (frontend.Instance, error)

func (Frontend) ValidateSettings

func (Frontend) ValidateSettings(s frontend.Settings) error

ValidateSettings keeps the owner setting additive without accepting arbitrary config.

Jump to

Keyboard shortcuts

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