Skip to content

Commit

Permalink
升级gn库
Browse files Browse the repository at this point in the history
  • Loading branch information
alberliu committed Aug 4, 2021
1 parent 1323767 commit a834034
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion config/conf.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type RPCAddrConf struct {

// ConnectConf Connect配置
type ConnectConf struct {
TCPListenAddr int
TCPListenAddr string
WSListenAddr string
RPCListenAddr string
LocalAddr string
Expand Down
2 changes: 1 addition & 1 deletion config/dev_conf.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func initDevConf() {
}

Connect = ConnectConf{
TCPListenAddr: 8080,
TCPListenAddr: ":8080",
WSListenAddr: ":8081",
RPCListenAddr: ":50000",
LocalAddr: "127.0.0.1:50000",
Expand Down
2 changes: 1 addition & 1 deletion config/local_conf.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func initLocalConf() {
}

Connect = ConnectConf{
TCPListenAddr: 8080,
TCPListenAddr: ":8080",
WSListenAddr: ":8081",
RPCListenAddr: ":50000",
LocalAddr: "127.0.0.1:50000",
Expand Down
2 changes: 1 addition & 1 deletion config/prod_conf.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func initProdConf() {
}

Connect = ConnectConf{
TCPListenAddr: 8080,
TCPListenAddr: ":8080",
WSListenAddr: ":8081",
RPCListenAddr: ":50000",
LocalAddr: "127.0.0.1:50000",
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module gim
go 1.12

require (
github.com/alberliu/gn v1.6.0
github.com/alberliu/gn v1.7.0
github.com/denisenkom/go-mssqldb v0.0.0-20200620013148-b91950f658ec // indirect
github.com/gin-gonic/gin v1.6.3
github.com/go-redis/redis v6.14.2+incompatible
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMT
github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/PuerkitoBio/goquery v1.5.1/go.mod h1:GsLWisAFVj4WgDibEWF4pvYnkVQBpKBKeU+7zCJoLcc=
github.com/alberliu/gn v1.6.0 h1:f8ALu2G1Fwdyen6yzCvJskLdAwhPeEicvlQb8p2zn3c=
github.com/alberliu/gn v1.6.0/go.mod h1:EAZ/QNlcImJ4AkBwTgqUb73zW2ZuF7FxKIdEbjKLedE=
github.com/alberliu/gn v1.7.0 h1:xJyaQKCdv1FuIzGCxfs00p3kep/7k30w2TLO5IbThRo=
github.com/alberliu/gn v1.7.0/go.mod h1:EAZ/QNlcImJ4AkBwTgqUb73zW2ZuF7FxKIdEbjKLedE=
github.com/andybalholm/cascadia v1.1.0/go.mod h1:GsXiBklL0woXo1j/WYWtSYYC4ouU9PqHO0sqidkEA4Y=
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
Expand Down

0 comments on commit a834034

Please sign in to comment.