Versions in this module Expand all Collapse all v1 v1.0.0 Jul 31, 2023 Changes in this version + const API + const APICode + const APICodeGenerate + const APIConversation + const APIConversationBase + const APIConversationBatchDelete + const APIConversationInfo + const APIConversationList + const APIConversationWS + const APIHealth + const APILLM + const APILLMList + const APIMessageFeedback + const APIRole + const APIRoleCreate + const APIRoleList + const APIRoleUpdate + const APIUser + const APIUserInfo + const APIUserList + const APIUserLogin + type AuthConfiguration struct + Expires uint + JwtKey string + RuleTable string + type Configuration struct + Auth AuthConfiguration + Consul ConsulConfiguration + Database DatabaseConfiguration + Logs LogsConfiguration + System SystemConfiguration + func LoadAppConfig(filename string) (*Configuration, error) + type ConsulConfiguration struct + Address string + Port int + type DatabaseConfiguration struct + Charset string + Collation string + Dbname string + Dialect string + Host string + InitData bool + LogMode bool + Migration bool + Password string + Port int + Query string + TablePrefix string + Username string + type LogsConfiguration struct + Compress bool + Encoding string + Level zapcore.Level + MaxAge int + MaxBackups int + MaxSize int + Path string + type SystemConfiguration struct + ApiVersion string + WaitTimeout int