config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BackendUnknown = "unknown"
	BackendTripo   = "tripo"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Provider  ProviderConfig
	OutputDir string
}

Config holds all configuration for the MCP server.

func Load

func Load() (*Config, error)

Load reads configuration from environment variables.

func (*Config) Backend

func (c *Config) Backend() string

Backend returns the effective backend based on configuration.

type ProviderConfig

type ProviderConfig struct {
	APIKey string
}

ProviderConfig holds Tripo API authentication.

Jump to

Keyboard shortcuts

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