Skip to content

Commit c0e9238

Browse files
committed
Reset commit by 240706
1 parent 9686e8b commit c0e9238

9 files changed

Lines changed: 682 additions & 8 deletions

File tree

.github/workflows/main.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,13 @@ jobs:
2424
- name: Set up Go env 🏗
2525
uses: actions/setup-go@v2
2626
with:
27-
go-version: "1.17"
27+
go-version: "1.22.7"
28+
29+
- name: Install OpenCV 🚀
30+
run: |
31+
go get -u -d gocv.io/x/gocv
32+
cd $GOPATH/src/gocv.io/x/gocv
33+
make install
2834
2935
- name: Run GoReleaser 🚀
3036
uses: goreleaser/goreleaser-action@v2

.goreleaser.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
builds:
22
- env:
3-
- CGO_ENABLED=0
3+
- CGO_ENABLED=1
44
goos:
55
- linux
66
goarch:
77
- arm64
88
- amd64
99
ldflags:
1010
- -s -w -X main.version={{.Version}}
11+
# hooks:
12+
# pre:
13+
# - wget --no-check-certificate https://raw.githubusercontent.com/milq/milq/master/scripts/bash/install-opencv.sh
14+
# - chmod +x install-opencv.sh
15+
# - sh ./install-opencv.sh

go.mod

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
module github.com/Rione/ssl-RACOON-Pi2
22

3-
go 1.17
3+
go 1.21
4+
45

56
require (
67
github.com/golang/protobuf v1.5.2 // indirect
7-
google.golang.org/protobuf v1.33.0
8+
google.golang.org/protobuf v1.35.1
89
)
910

1011
require (
@@ -17,14 +18,22 @@ require (
1718

1819
require (
1920
github.com/creack/goselect v0.1.2 // indirect
21+
github.com/gofrs/uuid v4.4.0+incompatible // indirect
2022
github.com/google/go-github/v30 v30.1.0 // indirect
2123
github.com/google/go-querystring v1.0.0 // indirect
24+
github.com/hashicorp/errwrap v1.1.0 // indirect
25+
github.com/hashicorp/go-multierror v1.1.1 // indirect
2226
github.com/inconshreveable/go-update v0.0.0-20160112193335-8152e7eb6ccf // indirect
2327
github.com/tcnksm/go-gitconfig v0.1.2 // indirect
2428
github.com/ulikunitz/xz v0.5.9 // indirect
25-
golang.org/x/crypto v0.21.0 // indirect
26-
golang.org/x/net v0.23.0 // indirect
27-
golang.org/x/oauth2 v0.0.0-20181106182150-f42d05182288 // indirect
28-
golang.org/x/sys v0.18.0 // indirect
29+
gobot.io/x/gobot v1.16.0 // indirect
30+
gocv.io/x/gocv v0.38.0 // indirect
31+
golang.org/x/crypto v0.28.0 // indirect
32+
golang.org/x/net v0.30.0 // indirect
33+
golang.org/x/oauth2 v0.22.0 // indirect
34+
golang.org/x/sys v0.26.0 // indirect
35+
golang.org/x/text v0.19.0 // indirect
2936
google.golang.org/appengine v1.3.0 // indirect
37+
google.golang.org/genproto/googleapis/rpc v0.0.0-20241007155032-5fefd90f89a9 // indirect
38+
google.golang.org/grpc v1.67.1 // indirect
3039
)

go.sum

Lines changed: 106 additions & 0 deletions
Large diffs are not rendered by default.

main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ func main() {
156156
chkick := make(chan bool)
157157
chgpio := make(chan bool)
158158
chapi := make(chan bool)
159+
chstreaming := make(chan bool)
159160

160161
//各並列処理部分
161162
go RunClient(chclient, MyID, ip)
@@ -164,13 +165,15 @@ func main() {
164165
go kickCheck(chkick)
165166
go RunGPIO(chgpio)
166167
go RunApi(chapi, MyID)
168+
go Streaming(chstreaming, MyID)
167169

168170
<-chclient
169171
<-chserver
170172
<-chserial
171173
<-chkick
172174
<-chgpio
173175
<-chapi
176+
<-chstreaming
174177
}
175178

176179
func CheckError(err error) {

proto/pb_gen/Streaming.pb.go

Lines changed: 221 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)