package
Version:
v0.1.3
Opens a new window with list of versions in this module.
Published: Mar 3, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func InitConfigForTest(reader IReader)
type ConfigReader struct {
FileName string
}
type Domain struct {
Name string `yaml:"name"`
}
type Es struct {
EsHost string `yaml:"esHost"`
EsPort string `yaml:"esPort"`
EsIndex string `yaml:"esIndex"`
}
type Etcd struct {
Address string `yaml:"address"`
}
type IReader interface {
}
type Jaeger struct {
Addr string `yaml:"addr"`
}
type Kafka struct {
Address []string `yaml:"address"`
}
type MilvusConfig struct {
Host string `yaml:"host"`
Port string `yaml:"port"`
VectorDimension int `yaml:"vector_dimension"`
DefaultMilvusTableName string `yaml:"default_milvus_table_name"`
MetricType string `yaml:"metric_type"`
Timeout int `yaml:"timeout"`
}
type MySQL struct {
DriverName string `yaml:"driverName"`
Host string `yaml:"host"`
Port string `yaml:"port"`
Database string `yaml:"database"`
UserName string `yaml:"username"`
Password string `yaml:"password"`
Charset string `yaml:"charset"`
}
type Redis struct {
RedisHost string `yaml:"redisHost"`
RedisPort string `yaml:"redisPort"`
RedisUsername string `yaml:"redisUsername"`
RedisPassword string `yaml:"redisPassword"`
RedisDbName int `yaml:"redisDbName"`
}
type SeConfig struct {
StoragePath string `yaml:"StoragePath"`
SourceFiles []string `yaml:"SourceFiles"`
MergeChannelSize int64 `yaml:"MergeChannelSize"`
Version string `yaml:"Version"`
SourceWuKoFile string `yaml:"SourceWuKoFile"`
MetaPath string `yaml:"MetaPath"`
}
type Server struct {
Port string `yaml:"port"`
Version string `yaml:"version"`
JwtSecret string `yaml:"jwtSecret"`
Metrics string `yaml:"metrics"`
}
type Service struct {
Name string `yaml:"name"`
LoadBalance bool `yaml:"loadBalance"`
Addr []string `yaml:"addr"`
Metrics []string `yaml:"metrics"`
}
type StarRocks struct {
UserName string `yaml:"user_name"`
Password string `yaml:"password"`
Database string `yaml:"database"`
LoadUrl string `yaml:"load_url"`
Host string `yaml:"host"`
Port string `yaml:"port"`
Charset string `yaml:"charset"`
}
type VectorConfig struct {
ServerAddress string `yaml:"server_address"`
Timeout int64 `yaml:"timeout"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.