Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SessionCache cache.Cache SessionCacheTimeout float64 ObjectCache cache.Cache ObjectCacheTimeout float64 TestSessionCache cache.Cache TestSessionCacheTimeout float64 )
View Source
var ActiveMQs map[string]*activemq.ActiveMQ
View Source
var ApiKey string
View Source
var Kakfas map[string]*kafka.KafkaConsumer
View Source
var MQTTClients map[string]*mqttclient.MqttClient
View Source
var OpenAiKey string
View Source
var OpenAiModel string
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Port int `json:"port"` Timeout int `json:"timeout"` Controllers []Controller `json:"controllers"` PluginControllers []PluginController `json:"plugins"` Portal Portal `json:"portal"` ApiKey string `json:"apikey"` OpenAiKey string `json:"openaikey"` OpenAiModel string `json:"openaimodel"` }
func LoadConfig ¶
type Controller ¶
type GlobalConfig ¶
type GlobalConfig struct { Instance string `json:"instance"` InstanceType string `json:"type"` InstanceName string `json:"name"` SingalRConfig map[string]interface{} `json:"singalrconfig"` LogConfig map[string]interface{} `json:"log"` DocumentConfig map[string]interface{} `json:"documentdb"` DatabaseConfig map[string]interface{} `json:"database"` AltDatabasesConfig []map[string]interface{} `json:"altdatabases"` CacheConfig map[string]interface{} `json:"cache"` TranslationConfig map[string]interface{} `json:"translation"` WebServerConfig map[string]interface{} `json:"webserver"` Transaction map[string]interface{} `json:"transaction"` AppServer map[string]interface{} `json:"appserver"` Services []map[string]interface{} `json:"services"` }
var GlobalConfiguration *GlobalConfig
func LoadGlobalConfig ¶
func LoadGlobalConfig() (*GlobalConfig, error)
type PluginController ¶
Click to show internal directories.
Click to hide internal directories.