config

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package config provides configuration constants and utilities for omnivoice-core.

Index

Constants

View Source
const (
	// PlexusOneDir is the base directory for PlexusOne data.
	PlexusOneDir = ".plexusone"

	// OmniVoiceDir is the subdirectory for OmniVoice data.
	OmniVoiceDir = "omnivoice"

	// VoicesDir is the subdirectory for voice profiles.
	VoicesDir = "voices"
)

Variables

This section is empty.

Functions

func DefaultDataDir

func DefaultDataDir() string

DefaultDataDir returns the default OmniVoice data directory. Returns ~/.plexusone/omnivoice

func DefaultVoicesDir

func DefaultVoicesDir() string

DefaultVoicesDir returns the default voice profiles directory. Returns ~/.plexusone/omnivoice/voices

func EnsureVoiceProfileDir

func EnsureVoiceProfileDir(profileSlug string) error

EnsureVoiceProfileDir creates a voice profile directory if it doesn't exist.

func EnsureVoicesDir

func EnsureVoicesDir() error

EnsureVoicesDir creates the voices directory if it doesn't exist.

func GetVoicesDir

func GetVoicesDir() string

VoicesDir returns the voice profiles directory. Uses OMNIVOICE_VOICES_DIR environment variable if set, otherwise returns the default path.

func VoiceProfileDir

func VoiceProfileDir(profileSlug string) string

VoiceProfileDir returns the directory for a specific voice profile.

Types

This section is empty.

Jump to

Keyboard shortcuts

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