contentresolver

package
v0.0.0-...-e6eca7e Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 License: GPL-3.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHostedFS

func NewHostedFS(sourceFS vfs.Filesystem, daemons []ContentResolver) (vfs.Filesystem, error)

Types

type ContentResolver

type ContentResolver interface {
	Name() string
	Extensions() []string
	ResolveFS(ctx context.Context, sourcePath string, file vfs.File) (vfs.Filesystem, error)
	Close(ctx context.Context) error
}

type ResolverConstructor

type ResolverConstructor func(context.Context, *koanf.Koanf) (ContentResolver, error)

Jump to

Keyboard shortcuts

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