Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliyunConfig ¶
type AliyunConfig struct { RdsDBInstanceID string `yaml:"rds_db_instance_id"` AccessKeyID string `yaml:"access_key_id"` AccessKeySecret string `yaml:"access_key_secret"` Region string `yaml:"region"` }
AliyunConfig aliyun config
type Config ¶
type Config struct { Version string BaseDir string `yaml:"base_dir"` Stage string MainDomain string `yaml:"main_domain"` PostgresqlConnString string `yaml:"postgresql_conn_string"` Logger LoggerConfig Postgresql PostgresqlConfig Redis RedisConfig RocketMQ RocketMQConfig Kafka KafkaConfig MongoDB MongodbConfig InternalServer InternalServer `yaml:"internal_server"` TracingEndpoint string `yaml:"tracing_endpoint"` JwtSecret string `yaml:"jwt_secret"` MigrationPath string `yaml:"migration_path"` }
Config is the type used for storing configurations
type InternalServer ¶
type InternalServer struct {
Product string
}
type JenkinsConfig ¶
JenkinsConfig jenkins config
type KafkaConfig ¶
type LoggerConfig ¶
type MongodbConfig ¶
type OSSConfig ¶
type OSSConfig struct { AccessKeyID string `yaml:"access_key_id"` AccessKeySecret string `yaml:"access_key_secret"` BucketName string `yaml:"bucket_name"` EndPoint string `yaml:"endpoint"` BaseURL string `yaml:"base_url"` }
OSSConfig is oss configuration
type PostgresqlConfig ¶
type RedisConfig ¶
RedisConfig redis config
type RocketMQConfig ¶
Click to show internal directories.
Click to hide internal directories.