You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
dustoair b46f214b34
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details
@20230618
3 years ago
api BinancePrice 3 years ago
global add bnb and trx prcie 3 years ago
goCharts diff getdays 3 years ago
handle symbol price 3 years ago
manifests event事件不再记录入库 3 years ago
third_part RandMapValue 3 years ago
utils 审核ai结果 3 years ago
.drone.yml use drone for cicd 3 years ago
.gitignore , timestamp, nonce string, w http.ResponseWriter 3 years ago
Dockerfile fix kubectl tool 3 years ago
Makefile use drone for cicd 3 years ago
application-dev.yaml add mysql record 3 years ago
go.mod add go-charts 3 years ago
main.go replyContent 3 years ago
readme.md @20230618 3 years ago

readme.md

Build Status

接收消息与事件

https://developer.work.weixin.qq.com/document/10514

微信消息加解密库 https://github.com/go-laoji/wxbizmsgcrypt

https://github.com/easychen/wecomchan/blob/main/go-wecomchan/wecomchan.go

build arm64 on oracle k8s

cd /root
rm -rf WechatGateWay
git clone https://git.sre.ink/go/WechatGateWay.git
cd WechatGateWay
make build-linux-arm64

k8s manifests

---
manifests/Deployment.yaml
manifests/Service.yaml
manifests/ingress.yaml
---

old makefile:

	/bin/cp -arf /root/wx.yaml application.yaml
	CGO_ENABLED=0 GOOS=linux GOARCH=arm64 GO111MODULE=on  go mod tidy
	CGO_ENABLED=0 GOOS=linux GOARCH=arm64 GO111MODULE=on  go build -v -a -o wechat.bin main.go
	/bin/cp -arf /usr/bin/kubectl .
	/bin/cp -arf /root/.kube/config .
	docker build -t sre/wechatgateway:arm64 .
	kubectl rollout restart deployment -n sre wehcat-gateway