package
1.0.0-rc.5
Repository: https://github.com/beneath-hq/beneath.git
Documentation: pkg.go.dev

# Functions

AddConfigKey registers a new config key to be loaded from config files with Viper and/or overriden via the CLI.
AddDependency registers a dependency to provide to fx.
AddStartable registers a startable.
NewCLI creates a new CLI instance.

# Variables

Dig manages and creates dependencies.

# Structs

CLI builds and serves the CLI for *launching* the Beneath backend (*not* the Python-based CLI for local authentication, creating streams, etc.).
ConfigKey represents a config key and optionally a default value.
Lifecycle runs one or more Runables.
Startable is a service that can be started with the start command.

# Interfaces

Runable should implement a Run function that returns nil on success, an error on failure, and stops gracefully if the ctx is cancelled.