增加build
This commit is contained in:
parent
8b73a9d0c0
commit
8abb8c1f2f
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
.vscode/
|
||||||
|
build/
|
4
client/build.cmd
Normal file
4
client/build.cmd
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
set CGO_ENABLED=0
|
||||||
|
set GOOS=linux
|
||||||
|
set GOARCH=amd64
|
||||||
|
go build -o build/goproxy_client
|
@ -198,7 +198,7 @@ func (dev *Device) readLoop() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
remoteConn, err := createTcpConn("localhost:10001")
|
remoteConn, err := createTcpConn("192.168.21.146:10001")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("Create remoteAddr Error! " + err.Error())
|
fmt.Println("Create remoteAddr Error! " + err.Error())
|
||||||
return
|
return
|
||||||
|
4
server/build.cmd
Normal file
4
server/build.cmd
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
set CGO_ENABLED=0
|
||||||
|
set GOOS=linux
|
||||||
|
set GOARCH=amd64
|
||||||
|
go build -o build/goproxy_server
|
Loading…
Reference in New Issue
Block a user