config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AiConfig

type AiConfig struct {
	// contains filtered or unexported fields
}

func (AiConfig) GetKey

func (c AiConfig) GetKey() string

func (AiConfig) GetProxy

func (c AiConfig) GetProxy() string

func (AiConfig) GetTemperature

func (c AiConfig) GetTemperature() float64

type Config

type Config struct {
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig() (*Config, error)

func WriteConfig

func WriteConfig(key string, write bool) (*Config, error)

func (*Config) GetAiConfig

func (c *Config) GetAiConfig() AiConfig

func (*Config) GetSystemConfig

func (c *Config) GetSystemConfig() *system.Analysis

func (*Config) GetUserConfig

func (c *Config) GetUserConfig() UserConfig

type UserConfig

type UserConfig struct {
	// contains filtered or unexported fields
}

func (UserConfig) GetDefaultPromptMode

func (c UserConfig) GetDefaultPromptMode() string

func (UserConfig) GetPreferences

func (c UserConfig) GetPreferences() string

Jump to

Keyboard shortcuts

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