package
Version:
v0.0.0-...-b8d73c3
Opens a new window with list of versions in this module.
Published: Oct 2, 2020
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Init(Config, ConfigPath *string)
type Couchbase struct {
Addresses string `yaml:"addresses"`
Username string `yaml:"username"`
Password string `yaml:"password"`
}
type DgraphConfig struct {
Addresses []string `yaml:"addresses"`
}
type Microservices struct {
UserService microserviceInfo `yaml:"user_service"`
}
type MinIOConfig struct {
Addresses string `yaml:"addresses"`
AccessKeyID string `yaml:"access_key_id"`
SecretAccessKey string `yaml:"secret_access_key"`
}
type NatsConfig struct {
Addresses []string `yaml:"addresses"`
NatsClusterID string `yaml:"nats_cluster_id"`
}
type RedisConfig struct {
Addresses []string `yaml:"Addresses"`
}
type ScylladbConfig struct {
Addresses []string `yaml:"addresses"`
KeySpace string `yaml:"key_space"`
}
type Secrets struct {
GrpcToken string `yaml:"grpc_token"`
JwtSecret string `yaml:"jwt_secret"`
}
type ServiceConfig struct {
HttpPort string `yaml:"http_port"`
GrpcPort string `yaml:"grpc_port"`
ServiceName string `yaml:"service_name"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.