Metrics
0
Watch 118 Star 509 Fork 129

GVPdreamans / syncdGoMIT

Sign up for free
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
syncd是一款开源的代码部署工具,它具有简单、高效、易用等特点,可以提高团队的工作效率. spread retract

https://syncd.cc

  • Go 50.1%
  • Vue 39.4%
  • JavaScript 7.8%
  • CSS 1.7%
  • HTML 0.6%
  • Other 0.4%
Clone or download
config.go 1.20 KB
Copy Edit Web IDE Raw Blame History
dreamans authored 2019-03-26 20:42 . feature/2.0
// 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
}
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
}
)

Comment ( 0 )

You need to Sign in for post a comment

Help Search