Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
func Initialize()
Types ¶
type Config ¶
type Config struct { ServerUrl string `yaml:"SERVER_URL" mapstructure:"SERVER_URL"` ServerPort int `yaml:"SERVER_PORT" mapstructure:"SERVER_PORT"` LogLevel string `yaml:"LOG_LEVEL" mapstructure:"LOG_LEVEL"` ChatgptBaseUrl string `yaml:"CHATGPT_BASE_URL" mapstructure:"CHATGPT_BASE_URL"` ChatgptAccessToken string `yaml:"CHATGPT_ACCESS_TOKEN" mapstructure:"CHATGPT_ACCESS_TOKEN"` ChatgptModel string `yaml:"CHATGPT_MODEL" mapstructure:"CHATGPT_MODEL"` ReplicateBaseUrl string `yaml:"REPLICATE_BASE_URL" mapstructure:"REPLICATE_BASE_URL"` ReplicateApiToken string `yaml:"REPLICATE_API_TOKEN" mapstructure:"REPLICATE_API_TOKEN"` ReplicateModelVersion string `yaml:"REPLICATE_MODEL_VERSION" mapstructure:"REPLICATE_MODEL_VERSION"` }
var Instance Config
Click to show internal directories.
Click to hide internal directories.