parent
987dfb9efd
commit
01336c5ef5
@ -1,67 +1,66 @@
|
||||
[distribute] #发布功能的配置
|
||||
ip = 10.10.14.187
|
||||
port = 22
|
||||
user = root
|
||||
pwd = dsideal
|
||||
remotePath = /usr/local/dsMin/dsBaseWeb/
|
||||
localPath = E:/Work/dsMin/dsBaseWeb
|
||||
|
||||
|
||||
[mysql]
|
||||
ip = server.dsmin.com
|
||||
port = 22066
|
||||
db_name = base_db_dev
|
||||
|
||||
[redis]
|
||||
ip = server.dsmin.com
|
||||
port = 18890
|
||||
db = 0
|
||||
expireTime = 86400
|
||||
|
||||
# 注册rpc server
|
||||
[rpcServer]
|
||||
ip = 127.0.0.1
|
||||
port = 8001
|
||||
|
||||
#gin服务器的端口
|
||||
[server]
|
||||
port = 8002
|
||||
|
||||
# 本项目名称,用于记录日志
|
||||
[project]
|
||||
project_name = dsBaseWeb
|
||||
|
||||
[kafka]
|
||||
brokers = 10.10.14.237:9092,
|
||||
partition = 20
|
||||
replication = 1
|
||||
KafkaAccessLogTopic = log_baseweb
|
||||
|
||||
[sso]
|
||||
ssoServerNw = http://10.10.14.187
|
||||
#ssoServerNw = http://10.10.24.116:8000
|
||||
ssoServerWw = http://fort.edusoa.com:7777
|
||||
authCodeURI = /oauth2/authorize
|
||||
authTokenURI = /oauth2/access_token
|
||||
authLogoutURI = /oauth2/logout
|
||||
#clientIdNw = br888ra563ugbm2ov77g
|
||||
#clientSecretNw = 01e9f8ak57e3j03vrjq34zg6ws
|
||||
clientIdNw = bu3pcf7cl45ug8dup8og
|
||||
clientSecretNw = 01emmt5qdyszh9ndbpbg4zk4tn
|
||||
clientIdWw = bpomac2563uj213q1g2g
|
||||
clientSecretWw = 01e3nf6hnr2eysdxhc2n80w9ca
|
||||
responseType = code
|
||||
grantType = authorization_code
|
||||
#redirectURINw = http://10.10.14.187/base/sso/CheckSsoCode
|
||||
redirectURINw = http://127.0.0.1:8002/base/sso/CheckSsoCode
|
||||
redirectURIWw = http://fort.edusoa.com:7777/base/sso/CheckSsoCode
|
||||
accessTokenKey = ds_access_token
|
||||
|
||||
[deleteXlsx]
|
||||
#删除7天前无用的模板文件
|
||||
diffTime = 7
|
||||
|
||||
|
||||
# 内部IP段起始
|
||||
[IP]
|
||||
intranetIP=192,172,10,127
|
||||
[distribute] #发布功能的配置
|
||||
ip = 10.10.14.187
|
||||
port = 22
|
||||
user = root
|
||||
pwd = dsideal
|
||||
remotePath = /usr/local/dsMin/dsBaseWeb/
|
||||
localPath = E:/Work/dsMin/dsBaseWeb
|
||||
|
||||
|
||||
[mysql]
|
||||
ip = server.dsmin.com
|
||||
port = 22066
|
||||
db_name = base_db_dev
|
||||
|
||||
[redis]
|
||||
ip = server.dsmin.com
|
||||
port = 18890
|
||||
db = 0
|
||||
expireTime = 86400
|
||||
|
||||
# 注册rpc server
|
||||
[rpcServer]
|
||||
ip = 127.0.0.1
|
||||
port = 8001
|
||||
|
||||
#gin服务器的端口
|
||||
[server]
|
||||
port = 8002
|
||||
|
||||
# 本项目名称,用于记录日志
|
||||
[project]
|
||||
project_name = dsBaseWeb
|
||||
|
||||
[kafka]
|
||||
brokers = 10.10.14.237:9092,
|
||||
partition = 20
|
||||
replication = 1
|
||||
KafkaAccessLogTopic = log_baseweb
|
||||
|
||||
[sso]
|
||||
ssoServerNw = http://10.10.14.187
|
||||
#ssoServerNw = http://10.10.24.116:8000
|
||||
ssoServerWw = http://fort.edusoa.com:7777
|
||||
authCodeURI = /oauth2/authorize
|
||||
authTokenURI = /oauth2/access_token
|
||||
authLogoutURI = /oauth2/logout
|
||||
#clientIdNw = br888ra563ugbm2ov77g
|
||||
#clientSecretNw = 01e9f8ak57e3j03vrjq34zg6ws
|
||||
clientIdNw = bu3pcf7cl45ug8dup8og
|
||||
clientSecretNw = 01emmt5qdyszh9ndbpbg4zk4tn
|
||||
clientIdWw = bpomac2563uj213q1g2g
|
||||
clientSecretWw = 01e3nf6hnr2eysdxhc2n80w9ca
|
||||
responseType = code
|
||||
grantType = authorization_code
|
||||
#redirectURINw = http://10.10.14.187/base/sso/CheckSsoCode
|
||||
redirectURINw = http://127.0.0.1:8002/base/sso/CheckSsoCode
|
||||
redirectURIWw = http://fort.edusoa.com:7777/base/sso/CheckSsoCode
|
||||
accessTokenKey = ds_access_token
|
||||
|
||||
[deleteXlsx]
|
||||
#删除7天前无用的模板文件
|
||||
diffTime = 7
|
||||
|
||||
# 内部IP段起始
|
||||
[IP]
|
||||
intranetIP=192,172,10,127
|
||||
|
@ -1,61 +1,102 @@
|
||||
module dsBaseWeb
|
||||
|
||||
go 1.14
|
||||
go 1.18
|
||||
|
||||
require (
|
||||
github.com/0x5010/grpcp v0.0.0-20180912032145-6d4772332891
|
||||
github.com/360EntSecGroup-Skylar/excelize/v2 v2.2.0
|
||||
github.com/Shopify/sarama v1.26.1
|
||||
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751
|
||||
github.com/bluesky335/IDCheck v0.0.0-20200319021444-08ee85bfcb7b
|
||||
github.com/ghodss/yaml v1.0.0
|
||||
github.com/gin-gonic/gin v1.8.1
|
||||
github.com/go-sql-driver/mysql v1.5.0
|
||||
github.com/golang/protobuf v1.5.2
|
||||
github.com/gomodule/redigo v2.0.0+incompatible
|
||||
github.com/iancoleman/orderedmap v0.1.0
|
||||
github.com/lunny/log v0.0.0-20160921050905-7887c61bf0de
|
||||
github.com/pkg/sftp v1.11.0
|
||||
github.com/satori/go.uuid v1.2.0
|
||||
github.com/segmentio/kafka-go v0.4.8
|
||||
github.com/sirupsen/logrus v1.5.0
|
||||
github.com/swaggo/gin-swagger v1.2.0
|
||||
github.com/swaggo/swag v1.7.0
|
||||
github.com/tracer0tong/kafkalogrus v0.0.0-20180816014403-290bb4d4d549
|
||||
github.com/valyala/fasthttp v1.18.0
|
||||
github.com/xormplus/core v0.0.0-20200308074340-f3bce19d5f31
|
||||
github.com/xormplus/xorm v0.0.0-20201213020207-d4eee8f4037a
|
||||
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d
|
||||
google.golang.org/grpc v1.36.0
|
||||
google.golang.org/protobuf v1.28.0
|
||||
gopkg.in/ini.v1 v1.62.0
|
||||
)
|
||||
|
||||
require (
|
||||
github.com/Chronokeeper/anyxml v0.0.0-20160530174208-54457d8e98c6 // indirect
|
||||
github.com/CloudyKit/fastprinter v0.0.0-20200109182630-33d98a066a53 // indirect
|
||||
github.com/CloudyKit/jet v2.1.2+incompatible // indirect
|
||||
github.com/Shopify/sarama v1.26.1
|
||||
github.com/KyleBanks/depth v1.2.1 // indirect
|
||||
github.com/PuerkitoBio/purell v1.1.1 // indirect
|
||||
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
|
||||
github.com/agrison/go-tablib v0.0.0-20160310143025-4930582c22ee // indirect
|
||||
github.com/agrison/mxj v0.0.0-20160310142625-1269f8afb3b4 // indirect
|
||||
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751
|
||||
github.com/atotto/clipboard v0.1.2 // indirect
|
||||
github.com/bluesky335/IDCheck v0.0.0-20200319021444-08ee85bfcb7b
|
||||
github.com/andybalholm/brotli v1.0.0 // indirect
|
||||
github.com/bndr/gotabulate v1.1.2 // indirect
|
||||
github.com/cpuguy83/go-md2man/v2 v2.0.0 // indirect
|
||||
github.com/clbanning/mxj v1.8.4 // indirect
|
||||
github.com/davecgh/go-spew v1.1.1 // indirect
|
||||
github.com/eapache/go-resiliency v1.2.0 // indirect
|
||||
github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21 // indirect
|
||||
github.com/eapache/queue v1.1.0 // indirect
|
||||
github.com/fatih/structs v1.1.0 // indirect
|
||||
github.com/frankban/quicktest v1.9.0 // indirect
|
||||
github.com/gin-gonic/gin v1.7.2
|
||||
github.com/fsnotify/fsnotify v1.4.9 // indirect
|
||||
github.com/gin-contrib/sse v0.1.0 // indirect
|
||||
github.com/go-openapi/jsonpointer v0.19.5 // indirect
|
||||
github.com/go-openapi/jsonreference v0.19.5 // indirect
|
||||
github.com/go-openapi/spec v0.20.0 // indirect
|
||||
github.com/go-sql-driver/mysql v1.5.0
|
||||
github.com/go-swagger/go-swagger v0.25.0 // indirect
|
||||
github.com/golang/protobuf v1.4.3
|
||||
github.com/gomodule/redigo v2.0.0+incompatible
|
||||
github.com/go-openapi/swag v0.19.12 // indirect
|
||||
github.com/go-playground/locales v0.14.0 // indirect
|
||||
github.com/go-playground/universal-translator v0.18.0 // indirect
|
||||
github.com/go-playground/validator/v10 v10.11.0 // indirect
|
||||
github.com/goccy/go-json v0.9.7 // indirect
|
||||
github.com/golang/snappy v0.0.1 // indirect
|
||||
github.com/gopherjs/gopherjs v0.0.0-20200217142428-fce0ec30dd00 // indirect
|
||||
github.com/holdno/snowFlakeByGo v0.0.0-20180510033652-d23f8a8cadd7 // indirect
|
||||
github.com/iancoleman/orderedmap v0.1.0
|
||||
github.com/json-iterator/go v1.1.10 // indirect
|
||||
github.com/hashicorp/go-uuid v1.0.2 // indirect
|
||||
github.com/jcmturner/gofork v1.0.0 // indirect
|
||||
github.com/josharian/intern v1.0.0 // indirect
|
||||
github.com/json-iterator/go v1.1.12 // indirect
|
||||
github.com/klauspost/compress v1.11.4 // indirect
|
||||
github.com/lunny/log v0.0.0-20160921050905-7887c61bf0de // indirect
|
||||
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
|
||||
github.com/kr/fs v0.1.0 // indirect
|
||||
github.com/leodido/go-urn v1.2.1 // indirect
|
||||
github.com/mailru/easyjson v0.7.6 // indirect
|
||||
github.com/mattn/go-isatty v0.0.14 // indirect
|
||||
github.com/mattn/go-sqlite3 v1.14.14 // indirect
|
||||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
||||
github.com/modern-go/reflect2 v1.0.2 // indirect
|
||||
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 // indirect
|
||||
github.com/pelletier/go-toml/v2 v2.0.2 // indirect
|
||||
github.com/pierrec/lz4 v2.5.2+incompatible // indirect
|
||||
github.com/pkg/sftp v1.11.0
|
||||
github.com/pkg/errors v0.9.1 // indirect
|
||||
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
|
||||
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
||||
github.com/satori/go.uuid v1.2.0
|
||||
github.com/segmentio/kafka-go v0.4.8
|
||||
github.com/sirupsen/logrus v1.5.0
|
||||
github.com/smartystreets/assertions v1.2.0 // indirect
|
||||
github.com/swaggo/files v0.0.0-20190704085106-630677cd5c14 // indirect
|
||||
github.com/swaggo/gin-swagger v1.2.0
|
||||
github.com/swaggo/swag v1.7.0
|
||||
github.com/smartystreets/goconvey v1.6.4 // indirect
|
||||
github.com/syndtr/goleveldb v1.0.0 // indirect
|
||||
github.com/tealeg/xlsx v1.0.5 // indirect
|
||||
github.com/tidwall/gjson v1.6.0
|
||||
github.com/tidwall/pretty v1.0.1 // indirect
|
||||
github.com/tracer0tong/kafkalogrus v0.0.0-20180816014403-290bb4d4d549
|
||||
github.com/urfave/cli v1.22.5 // indirect
|
||||
github.com/valyala/fasthttp v1.18.0
|
||||
github.com/ugorji/go/codec v1.2.7 // indirect
|
||||
github.com/valyala/bytebufferpool v1.0.0 // indirect
|
||||
github.com/xormplus/builder v0.0.0-20200331055651-240ff40009be // indirect
|
||||
github.com/xormplus/core v0.0.0-20200308074340-f3bce19d5f31
|
||||
github.com/xormplus/xorm v0.0.0-20201213020207-d4eee8f4037a
|
||||
golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899
|
||||
golang.org/x/net v0.0.0-20201224014010-6772e930b67b // indirect
|
||||
golang.org/x/tools v0.0.0-20210102185154-773b96fafca2
|
||||
google.golang.org/grpc v1.34.0
|
||||
google.golang.org/protobuf v1.25.0
|
||||
github.com/xuri/efp v0.0.0-20191019043341-b7dc4fe9aa91 // indirect
|
||||
golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e // indirect
|
||||
golang.org/x/sys v0.0.0-20220627191245-f75cf1eec38b // indirect
|
||||
golang.org/x/text v0.3.7 // indirect
|
||||
golang.org/x/tools v0.0.0-20210102185154-773b96fafca2 // indirect
|
||||
google.golang.org/genproto v0.0.0-20200806141610-86f49bd18e98 // indirect
|
||||
google.golang.org/grpc/examples v0.0.0-20220628173744-c9b16c884c97 // indirect
|
||||
gopkg.in/flosch/pongo2.v3 v3.0.0-20141028000813-5e81b817a0c4 // indirect
|
||||
gopkg.in/ini.v1 v1.62.0
|
||||
gopkg.in/jcmturner/aescts.v1 v1.0.1 // indirect
|
||||
gopkg.in/jcmturner/dnsutils.v1 v1.0.1 // indirect
|
||||
gopkg.in/jcmturner/gokrb5.v7 v7.5.0 // indirect
|
||||
gopkg.in/jcmturner/rpc.v1 v1.1.0 // indirect
|
||||
gopkg.in/yaml.v2 v2.4.0 // indirect
|
||||
)
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,5 @@
|
||||
go mod 爆红
|
||||
https://blog.csdn.net/weixin_43525993/article/details/124796648
|
||||
|
||||
更新gin
|
||||
go get -u github.com/gin-gonic/gin
|
Loading…
Reference in new issue