vela

package
v0.3.15 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: GPL-3.0 Imports: 36 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)

ProjectLibrary interprets this adapter's presentation declaration. 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