assets

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Config

func Config() fs.FS

Config returns the embedded config filesystem (rooted inside config/).

func DefaultMOTD

func DefaultMOTD() string

DefaultMOTD returns the embedded MOTD string.

func EmbeddedConfig

func EmbeddedConfig() ([]byte, bool)

EmbeddedConfig returns the contents of the embedded openlore.yml, if any.

func HasEmbeddedConfig

func HasEmbeddedConfig() bool

HasEmbeddedConfig reports whether a real openlore.yml is embedded (not just the example file).

func Legal() fs.FS

Legal returns the embedded third-party legal notices filesystem (rooted inside legal/). It contains THIRD_PARTY_NOTICES.md and a licenses/ directory with the full license text of every bundled dependency.

func Lore

func Lore() fs.FS

Lore returns the embedded docs filesystem (rooted inside lore/). Returns nil if the lore directory contains only the placeholder.

func Skills

func Skills() fs.FS

Skills returns the embedded skills filesystem (rooted inside skills/).

func Version

func Version() string

Version returns the embedded version string.

func Web

func Web() fs.FS

Web returns the embedded web assets filesystem (rooted inside web/).

Types

This section is empty.

Jump to

Keyboard shortcuts

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