1 Star 2 Fork 2

krio/syncd

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
config.go 1.03 KB
一键复制 编辑 原始数据 按行查看 历史
krio 提交于 2022-11-18 22:38 . syncd
// Copyright 2019 syncd Author. All Rights Reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package syncd
type (
Config struct {
Serve *ServeConfig
Db *DbConfig
Log *LogConfig
Syncd *SyncdConfig
Mail *MailConfig
Build *BuildConfig
}
SyncdConfig struct {
LocalSpace string
RemoteSpace string
Cipher string
AppHost string
}
LogConfig struct {
Path string
}
MailConfig struct {
Enable int
Smtp string
Port int
User string
Pass string
}
ServeConfig struct {
Addr string
FeServeEnable int
ReadTimeout int
WriteTimeout int
IdleTimeout int
}
DbConfig struct {
Unix string
Host string
Port int
Charset string
User string
Pass string
DbName string
TablePrefix string
MaxIdleConns int
MaxOpenConns int
ConnMaxLifeTime int
}
BuildConfig struct {
RetainProject int
SingleThread int
}
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/krio/syncd.git
git@gitee.com:krio/syncd.git
krio
syncd
syncd
master

搜索帮助