Documentation
¶
Index ¶
- func DefaultDir() (string, error)
- func DefaultPath() (string, error)
- func ResolveAIKey(cfg *Config, flagKey string) string
- func ResolveEmbeddingKey(cfg *Config, flagKey string) string
- func ResolveToken(cfg *Config, flagToken string) string
- func ResolveWebDAVPassword(cfg *Config) string
- type AIConfig
- type Config
- type EmbeddingConfig
- type GenerateConfig
- type GitHubConfig
- type WebDAVConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultDir ¶
func DefaultPath ¶
func ResolveAIKey ¶
func ResolveEmbeddingKey ¶ added in v0.0.6
func ResolveToken ¶
func ResolveWebDAVPassword ¶
Types ¶
type Config ¶
type Config struct {
GitHub GitHubConfig `yaml:"github"`
AI AIConfig `yaml:"ai"`
Embedding EmbeddingConfig `yaml:"embedding"`
WebDAV WebDAVConfig `yaml:"webdav"`
Generate GenerateConfig `yaml:"generate"`
}
type EmbeddingConfig ¶ added in v0.0.6
type GenerateConfig ¶
type GenerateConfig struct {
Sort string `yaml:"sort"`
}
type GitHubConfig ¶
Click to show internal directories.
Click to hide internal directories.