-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update this repo's master branch #80
Closed
Closed
Changes from all commits
Commits
Show all changes
316 commits
Select commit
Hold shift + click to select a range
2da786c
Imp: rollback length 64 -> 0
AlexStocks ab558d1
Rem: gxbytes
AlexStocks 1d7c20c
Fix: divebomb -> dubbogo/gost
AlexStocks 293a60d
Merge pull request #22 from divebomb/master
wongoo 0c47783
fix:修正注释中的单词错误
JerryZhou343 0659b79
Merge pull request #23 from mfslog/master
AlexStocks 1a47fab
change grNum to chan
pantianying 7d702cf
change log
pantianying 2d40a6f
delete handleLoopDone
pantianying abef1dd
change variable name
pantianying 0fd80e4
add s.grNum for debug
pantianying 82a97b4
fix
pantianying 6de78d9
Merge pull request #24 from pantianying/pty_getty
wongoo 2282528
Fix: inc write package number when err == nil in WritePkg
AlexStocks 34d2a34
Merge pull request #25 from divebomb/master
wongoo 8e2387f
Add: writev
AlexStocks e545f6f
Imp: tcp stream handler
AlexStocks 2b6c658
Merge pull request #26 from divebomb/master
wongoo be9ebbd
Add: travis
AlexStocks 1a6b813
Mod: add go 13
AlexStocks c34c7a7
Merge pull request #28 from divebomb/master
wongoo 8301e25
issue29
085aa67
travis
193d5d0
Merge pull request #30 from dubbo-x/issue29
wongoo 7731d5c
Rem: utils
AlexStocks 1ff1122
Rem: utils
2f6fb03
Mod: format go.sum
a57b22e
Imp: enlarge time wheel span from 2m to 15m
AlexStocks 6ddf0fc
Create auto-comment.yml
zouyx f213b67
Mod: remark io timeout log
AlexStocks 5334e7d
Rem: setUDPSocketOptions
AlexStocks 888d134
Imp: close connection asynchronously in session.gc
AlexStocks a733de8
Upd: travis config
AlexStocks 2d033a8
Add: ut
AlexStocks 9958f11
Mod: readme
AlexStocks 34bbe7a
Add: go report card
AlexStocks 32aace3
change the log prints
wenxuwan 52cde59
Merge pull request #35 from wenxuwan/master
AlexStocks 6516e4c
Impl: reduce syscall and memcopy for multiple package
watermelo 8b02420
Fix: some log format & update WriteBytesArray method
watermelo 7df84f8
Mod: writePkgNum count
watermelo 45d3d7d
Merge pull request #36 from zaihang365/33_using_writev
AlexStocks 8402bd4
merge upstream
862579a
Add: listen on random local port
AlexStocks dd9b920
Rem: reduntant codes
AlexStocks 6182cdb
Imp: recover WriteBytesArray
AlexStocks f3924fe
Imp: travis script
AlexStocks 076a806
Merge pull request #37 from divebomb/master
wongoo d41aa4c
Add: StreamServer & PacketServer
AlexStocks 2964008
Fix: disable zip compression in session
AlexStocks 5d412f1
Fix: get error cause after server.accept
AlexStocks d6fb336
Imp: new udp session
AlexStocks 809cef2
Fix: jerrors -> perrors
AlexStocks 5cc2deb
Mod: go mod
AlexStocks 4f0a9de
Merge pull request #38 from divebomb/master
AlexStocks 9077f6b
Fix: Send multiple pkgs repetitive by tcp (#39)
watermelo 9850319
Add: license checker
watermelo 123dc5f
Add: validate license script
watermelo 01daadd
Add: add apache license
watermelo d92c700
Fix: lost some pkgs
watermelo 1d95e7c
Merge pull request #41 from zaihang365/featrue/license
AlexStocks 3c5b952
Mod: replace some pkgs
watermelo 5f47c4d
change grNum to chan
pantianying 3e33cb5
change log
pantianying 07467b3
delete handleLoopDone
pantianying 3c6cf46
change variable name
pantianying 7f7fc05
add s.grNum for debug
pantianying a5defb4
fix
pantianying 96ceb76
Fix: inc write package number when err == nil in WritePkg
AlexStocks 5846fc5
Add: writev
AlexStocks d7967ea
Imp: tcp stream handler
AlexStocks b116fce
Add: travis
AlexStocks 4de742a
Mod: add go 13
AlexStocks 941dd05
Rem: utils
AlexStocks 6228898
issue29
dac68c0
travis
90049f7
Rem: utils
b438b28
Mod: format go.sum
2647617
Imp: enlarge time wheel span from 2m to 15m
AlexStocks feb51d3
Create auto-comment.yml
zouyx 9833768
Mod: remark io timeout log
AlexStocks 4709210
Rem: setUDPSocketOptions
AlexStocks c22d4d2
Imp: close connection asynchronously in session.gc
AlexStocks c3f2367
Upd: travis config
AlexStocks 534a273
Add: ut
AlexStocks f077b6a
Mod: readme
AlexStocks 81dbd2c
Add: go report card
AlexStocks 9399352
change the log prints
wenxuwan db32236
Impl: reduce syscall and memcopy for multiple package
watermelo 5969f80
Fix: some log format & update WriteBytesArray method
watermelo 0683f35
Mod: writePkgNum count
watermelo ab472d9
Add: listen on random local port
AlexStocks d5d1b9e
Rem: reduntant codes
AlexStocks 805e171
Imp: recover WriteBytesArray
AlexStocks e0569c0
Imp: travis script
AlexStocks 3f88091
Add: StreamServer & PacketServer
AlexStocks 1e4b65b
Fix: disable zip compression in session
AlexStocks 4d0b366
Fix: get error cause after server.accept
AlexStocks b4bd367
Imp: new udp session
AlexStocks 812064c
Fix: jerrors -> perrors
AlexStocks f3a16c1
Fix: Send multiple pkgs repetitive by tcp (#39)
watermelo 406c74e
Add: license checker
watermelo 39b83b3
Add: validate license script
watermelo dc5c5ba
Add: add apache license
watermelo dd096e8
Fix: lost some pkgs
watermelo 37b7393
Mod: update mod
watermelo 17bab95
Add: update comments
watermelo 0585c3c
Merge branch 'master' into feature/removeCodes
watermelo b9b42f1
Merge branch 'master' into feature/removeCodes
watermelo 2b76c4d
Mod: update branch conflict
watermelo 80031a3
Mod: fmt the codes
watermelo 58244ae
Merge pull request #43 from zaihang365/feature/removeCodes
AlexStocks 4965ba8
Merge pull request #42 from zaihang365/featrue/ReplacePkgs
AlexStocks b89c0bb
add tls support
94d35a3
add tls support
af46070
add tls support
081c4ef
add tls demo
a153e2e
add tls config builder interface
169328c
add tls test case
2c6d646
Merge pull request #44 from aliiohs/feature/addTlsSupport
AlexStocks fb33e07
add tls test case (#45)
aliiohs aabda77
expose maxWheelTimeSpan
f9c6e8b
expose maxWheelTimeSpan
957f65f
Merge pull request #46 from aliiohs/exposeMaxWheelTimeSpan
watermelo 43ab2e8
update go module name
fc4127d
Mod: format codes
AlexStocks ed1b9b6
Create go.yml
sdttttt 45bcafa
Update go.yml
sdttttt 2116470
ci: migrate complete.
sdttttt 9ebdfd3
docs: Fix description mistake.
sdttttt 353bb67
Rename go.yml to github-actions.yml
sdttttt 84c3a07
Merge pull request #47 from sdttttt/sdttttt-patch-1
AlexStocks 8d10f6a
Create .asf.yaml
htynkn bf36b5d
update ding token
e743d22
opt: move taskpool at endpoint layer
watermelo e40c72a
opt: remove unuseful pkg
watermelo 9ae631e
opt: update gost to 1.9.6
watermelo bc65ed0
Merge pull request #50 from zaihang365/opt_taskpool
AlexStocks 2fa7b04
Add change list
watermelo 2827ac5
Merge pull request #51 from zaihang365/1.4
AlexStocks 8296ef8
Rem: session.SetRQLen
ee770be
upgrade gost version
AlexStocks ff08429
Merge pull request #53 from apache/1.4
AlexStocks d80971c
Rem: wQ
AlexStocks 614f0c7
delete session.SetTaskPool
AlexStocks 020cac6
Add: go lint
AlexStocks a68aa36
Merge pull request #54 from apache/feature/delet_wq
AlexStocks 1bcef0b
update gost version
AlexStocks ef4aaa4
remark dingding notification
AlexStocks 4a15143
return write length
AlexStocks 3eb8b38
Merge pull request #57 from apache/feature/write-size
AlexStocks 9c017bc
support return length
cvictory e2bdee6
support return total need transfer length
cvictory 0e5e138
review issue
cvictory 30e6264
Merge pull request #58 from cvictory/fix/support_return_length
AlexStocks 0df9283
feat: format use gofumpt
georgehao f9499a7
Merge pull request #59 from georgehao/master
AlexStocks 17b08dc
fix conn data race
03651ca
Merge pull request #68 from luoyunhe/fix
AlexStocks 168f412
Ftr: delete session.handleLoop (#56)
AlexStocks 3ea0e19
style(*): format all imports with dubbogo/tools/imports-formatter
Mulavar 5b7d8d2
Merge pull request #69 from Mulavar/imports-fmt
AlexStocks d711a4b
fix(*): revert 17b08d to fix timeout error
1f33b20
Merge pull request #72 from Mulavar/fix/timeout
AlexStocks c8ebbd8
format comments & function name
ada6920
rft(*): reorganize code with proper file name
917228c
Merge pull request #73 from Mulavar/rft/code-format
AlexStocks c7df4be
remove read buffer collection
fb96d44
fix: remote unused defer
5496713
Merge pull request #76 from LaurenceLiZhixin/ori_master
AlexStocks 70fe756
fix issue 77: process the last package before handle eof error
AlexStocks d58f9f3
Merge pull request #78 from apache/fix/issue-77
AlexStocks 1f01b71
Opt: change timeout to atomic
Lvnszn 9be0aee
fix license
Lvnszn 04c5bef
gofumpt connection
Lvnszn 409eb86
Imp: using gxbytes.Buffer WriteNextBegin/WriteNextEnd
AlexStocks 66f2506
Merge pull request #80 from takewofly/bug/race
AlexStocks 43cebf1
update go mod
AlexStocks a2461f8
Merge pull request #81 from apache/feature/gxbytes-buffer
AlexStocks 9c46f0f
Opt: split large packet to n*16KB packet
Lvnszn 3c3a318
fmt for license
Lvnszn 60b2b74
address comment
Lvnszn 56c79d7
use lock on write method
Lvnszn c3d9e00
address comment
Lvnszn a048da4
reduce size to zero then return
Lvnszn 03338b9
make var more readable
Lvnszn c36fe81
address comment
Lvnszn da1e5d5
gofumpt
Lvnszn a3f9370
16KB use Rlock
Lvnszn 54a2fad
Merge pull request #82 from takewofly/feature/split
AlexStocks c8ee29c
Opt: upgrade gost for resolve problem
Lvnszn 16374d2
Merge pull request #84 from takewofly/feature/upgrade_gost
AlexStocks 06db3ff
Ftr: move getty's example to dubbo-getty
Lvnszn b1acb3b
fix ci
Lvnszn a9bd614
remove change log
Lvnszn 66e083f
Merge pull request #85 from takewofly/feature/example
AlexStocks de68c22
Ipm: use dubbogo log lib
Lvnszn 76136d0
Merge pull request #86 from takewofly/feature/log
AlexStocks d25d2a8
Fix: taskPool will execute task when session was nil
Lvnszn 292995d
Merge pull request #91 from takewofly/bug/panic
AlexStocks 431c47e
Fix: fix connection was assigned a nil will lead to panic
Lvnszn 0b14a0d
Merge pull request #92 from takewofly/feat/connect_session
AlexStocks 2a4b909
Imp: remove goext & log4go in dep
Lvnszn ceb444b
Merge pull request #93 from takewofly/fix/dep
AlexStocks 69d3bab
add gnet comparation result
AlexStocks f0a3ead
fix: change Aggregate bandwidth
Lvnszn dc1f011
Merge pull request #96 from takewofly/fix_benchmark_mb
AlexStocks 532ea3f
Update gost
Leospard 3da63c3
Merge pull request #97 from Leospard/master
AlexStocks 4dc6252
fix: wrong tls config
ZLBer 532bf58
Merge pull request #98 from ZLBer/tls
AlexStocks 2ecc342
upgrade gost version
AlexStocks 33a17aa
refactor: Export private methods in the gett.Connection interface for…
iSuperCoder 32af5a7
refactor: Adding comments to exported interface methods.
iSuperCoder 1dea1c9
chore: unnecessary use of fmt.Sprintf
iSuperCoder 1936cf8
Merge pull request #102 from iSuperCoder/feature/sync_from_alexstocks
AlexStocks 7c0f003
Merge pull request #101 from iSuperCoder/refactor/mockable
AlexStocks ccec132
disable SetReadDeadline/SetWriteDeadline optimization alg because Go …
AlexStocks 04b1165
Merge pull request #109 from apache/fix/set-read-write-deadline
AlexStocks 582f4ca
fix: when session is closed, no need do OnMessage
Lvnszn 3038141
chore: upgrade go version from 1.14 to 1.20
DMwangnima 00bb32f
upgrade golangci-lint version
DMwangnima 3fc5e81
replace io/ioutil to os
DMwangnima eacf90a
replace deprecated method from Temporary() to Timeout()
DMwangnima 985ac66
fix test
DMwangnima 1643183
Merge pull request #112 from DMwangnima/chore/upgrate_go_to_1.20
AlexStocks dccc3d5
Bump golang.org/x/sys from 0.0.0-20220128215802-99c3d69c2c27 to 0.1.0
dependabot[bot] 93d91b4
Merge pull request #114 from apache/dependabot/go_modules/golang.org/…
AlexStocks 71b8185
Merge pull request #108 from takewofly/fix_on_message
AlexStocks 4033bd3
bufix: add tlsHandshake timeout to prevent readtimeout cause dead loop
hongshengjie a5233ed
Merge pull request #115 from hongshengjie/master
AlexStocks 553dc29
fix:1.stop to reconnect when face EOF error 2.exit reconnect when rec…
No-SilverBullet 52e6c4a
restore import farmat
No-SilverBullet 4cbf2c1
restore import format
No-SilverBullet d3f5be3
style:调整代码注释
No-SilverBullet 4d36106
fix: closing websocket connection returns invalid status code
Jardaliao 0c0272c
style:format code
No-SilverBullet ac8c9a6
Create main.yml
No-SilverBullet 3fd276b
Delete .github/workflows/main.yml
No-SilverBullet 05a6a9a
style:change the declaration location ofreconnect-related variables
No-SilverBullet b33c1e6
fix:maxDuration typo
No-SilverBullet ce6736e
Merge pull request #118 from Jardaliao/fix-closing-connection-returns…
AlexStocks 6a6e1d1
Merge pull request #117 from No-SilverBullet/fix/reconnect
AlexStocks c929434
Merge branch 'apache:master' into master
No-SilverBullet 7b6e32d
fix:issue 120 add mutex to prevent data race in websocket write message
No-SilverBullet 33fad96
refactor:use named return values for WritePkg method to return the ca…
No-SilverBullet 31379a1
Merge pull request #1 from No-SilverBullet/fix/issue103
No-SilverBullet fd6e766
refactor: error format in WritePkg method
No-SilverBullet 01362ff
Merge pull request #2 from No-SilverBullet/fix/issue103
No-SilverBullet 2769505
Merge pull request #121 from No-SilverBullet/master
AlexStocks File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
notifications: | ||
commits: [email protected] | ||
issues: [email protected] | ||
pullrequests: [email protected] | ||
jira_options: link label link label |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
name: Bug Report | ||
about: Report a bug | ||
labels: kind/bug | ||
|
||
--- | ||
|
||
<!-- Please use this template while reporting a bug and provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner. Thanks! | ||
|
||
--> | ||
|
||
|
||
**What happened**: | ||
|
||
**What you expected to happen**: | ||
|
||
**How to reproduce it (as minimally and precisely as possible)**: | ||
|
||
**Anything else we need to know?**: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
name: Enhancement Request | ||
about: Suggest an enhancement | ||
labels: kind/feature | ||
|
||
--- | ||
<!-- Please only use this template for submitting enhancement requests --> | ||
|
||
**What would you like to be added**: | ||
|
||
**Why is this needed**: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<!-- Thanks for sending a pull request! | ||
--> | ||
|
||
**What this PR does**: | ||
|
||
**Which issue(s) this PR fixes**: | ||
<!-- | ||
*Automatically closes linked issue when PR is merged. | ||
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. | ||
_If PR is about `failing-tests or flakes`, please post the related issues/tests in a comment and do not use `Fixes`_* | ||
--> | ||
Fixes # | ||
|
||
**Special notes for your reviewer**: | ||
|
||
**Does this PR introduce a user-facing change?**: | ||
<!-- | ||
If no, just write "NONE" in the release-note block below. | ||
If yes, a release note is required: | ||
Enter your extended release note in the block below. If the PR requires additional action from users switching to the new release, include the string "action required". | ||
--> | ||
```release-note | ||
|
||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Comment to a new issue. | ||
issueOpened: > | ||
Thank your for raising a issue. We will try and get back to you as soon as possible. | ||
|
||
Please make sure you have given us as much context as possible. | ||
|
||
pullRequestOpened: > | ||
Thank your for raising your pull request. | ||
|
||
Please make sure you have followed our contributing guidelines. We will review it as soon as possible |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: "*" | ||
|
||
jobs: | ||
|
||
build: | ||
name: Build | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
# If you want to matrix build , you can append the following list. | ||
matrix: | ||
go_version: | ||
- '1.20' | ||
os: | ||
- ubuntu-latest | ||
|
||
env: | ||
# DING_TOKEN: db178ff8c63cdc1b9ae0b86f7c4006ddf35e0249f4ae03441d80e55fdc600419 | ||
# DING_SIGN: SECbcc50d56d7315e57da8469d05da306d6cd825348a781861a42084e9579f1aebb | ||
DING_TOKEN: ${{ secrets.DING_TOKEN }} | ||
DING_SIGN: ${{ secrets.DING_SIGN }} | ||
|
||
steps: | ||
|
||
- name: Set up Go ${{ matrix.go_version }} | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ${{ matrix.go_version }} | ||
id: go | ||
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
|
||
- name: Cache Go Dependence | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/go/pkg/mod | ||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
restore-keys: ${{ runner.os }}-go- | ||
|
||
- name: Get dependencies | ||
run: | | ||
if [ -f Gopkg.toml ]; then | ||
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh | ||
dep ensure | ||
else | ||
go get -v -t -d ./... | ||
fi | ||
|
||
- name: License Check | ||
run: | | ||
sh before_validate_license.sh | ||
chmod u+x /tmp/tools/license/license-header-checker | ||
go fmt ./... && [[ -z `git status -s` ]] | ||
/tmp/tools/license/license-header-checker -v -a -r -i vendor /tmp/tools/license/license.txt . go && [[ -z `git status -s` ]] | ||
|
||
- name: Install go ci lint | ||
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.56.0 | ||
|
||
- name: Run Linter | ||
run: golangci-lint run --timeout=10m -v --disable-all --enable=govet --enable=staticcheck --enable=ineffassign --enable=misspell | ||
|
||
- name: Test | ||
run: go mod vendor && go test $(go list ./... | grep -v vendor | grep -v demo) -coverprofile=coverage.txt -covermode=atomic | ||
|
||
- name: Coverage | ||
run: bash <(curl -s https://codecov.io/bash) | ||
|
||
# # Because the contexts of push and PR are different, there are two Notify. | ||
# # Notifications are triggered only in the apache/dubbo-getty repository. | ||
# - name: DingTalk Message Notify only Push | ||
# uses: zcong1993/[email protected] | ||
# # Whether job is successful or not, always () is always true. | ||
# if: | | ||
# always() && | ||
# github.event_name == 'push' && | ||
# github.repository == 'apache/dubbo-getty' | ||
# with: | ||
# # DingDing bot token | ||
# dingToken: ${{ env.DING_TOKEN }} | ||
# secret: ${{ env.DING_SIGN }} | ||
# # Post Body to send | ||
# body: | | ||
# { | ||
# "msgtype": "markdown", | ||
# "markdown": { | ||
# "title": "Github Actions", | ||
# "text": "## Github Actions \n - name: CI \n - repository: ${{ github.repository }} \n - trigger: ${{ github.actor }} \n - event: ${{ github.event_name }} \n - ref: ${{ github.ref }} \n - status: [${{ job.status }}](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}) \n - environment: ${{ runner.os }} \n - SHA: [${{ github.sha }}](${{ github.event.compare }})" | ||
# } | ||
# } | ||
# | ||
# - name: DingTalk Message Notify only PR | ||
# uses: zcong1993/[email protected] | ||
# if: | | ||
# always() && | ||
# github.event_name == 'pull_request' && | ||
# github.repository == 'apache/dubbo-getty' | ||
# with: | ||
# dingToken: ${{ env.DING_TOKEN }} | ||
# secret: ${{ env.DING_SIGN }} | ||
# body: | | ||
# { | ||
# "msgtype": "markdown", | ||
# "markdown": { | ||
# "title": "Github Actions", | ||
# "text": "## Github Actions \n - name: CI \n - repository: ${{ github.repository }} \n - pr_title: **${{ github.event.pull_request.title }}** \n - trigger: ${{ github.actor }} \n - event: ${{ github.event_name }} \n - ref: [${{ github.ref }}](${{ github.event.pull_request._links.html.href }}) \n - status: [${{ job.status }}](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}) \n - environment: ${{ runner.os }} \n > SHA: [${{ github.sha }}](${{ github.event.pull_request._links.html.href }})" | ||
# } | ||
# } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,7 @@ classes | |
# vim | ||
*.swp | ||
|
||
# go.sum | ||
# Gopkg.lock | ||
# vendor/ | ||
vendor/ | ||
|
||
# vscode | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +0,0 @@ | ||
[submodule "examples"] | ||
path = examples | ||
url = https://github.com/AlexStocks/getty-examples.git | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
language: go | ||
|
||
os: | ||
- linux | ||
|
||
go: | ||
- "1.13" | ||
|
||
env: | ||
- GO111MODULE=on | ||
|
||
install: true | ||
|
||
script: | ||
# license-check | ||
- echo 'start license check' | ||
- sh before_validate_license.sh | ||
- chmod u+x /tmp/tools/license/license-header-checker | ||
- go fmt ./... && [[ -z `git status -s` ]] | ||
- /tmp/tools/license/license-header-checker -v -a -r -i vendor /tmp/tools/license/license.txt . go && [[ -z `git status -s` ]] | ||
- go mod vendor && go test $(go list ./... | grep -v vendor | grep -v demo) -coverprofile=coverage.txt -covermode=atomic | ||
|
||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) | ||
|
||
notifications: | ||
webhooks: https://oapi.dingtalk.com/robot/send?access_token=75f4f1ec3868508aa89e5a5d6f9d342216809df3ebc8a78c8ae8722848e06166 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Release Notes | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. dubbo-getty 的内容不要带过来 |
||
--- | ||
|
||
## 1.4.0 | ||
- [Impl: move taskpool at endpoint layer](https://github.com/apache/dubbo-getty/pull/50) | ||
|
||
## 1.3.x | ||
- [Fix: ExposeMaxWheelTimeSpan](https://github.com/apache/dubbo-getty/pull/46) | ||
- [Impl: tls support](https://github.com/apache/dubbo-getty/pull/44) | ||
- [Fix: send multiple pkgs repetitive](https://github.com/apache/dubbo-getty/pull/39) | ||
- [Impl: StreamServer & PacketServer](https://github.com/apache/dubbo-getty/pull/38) | ||
- [Impl: listen on random local por](https://github.com/apache/dubbo-getty/pull/37) | ||
- [Impl: reduce syscall and memcopy for multiple package](https://github.com/apache/dubbo-getty/pull/36) | ||
- [Impl: enlarge time wheel span](https://github.com/apache/dubbo-getty/commit/a57b22edbb3a7de383ad7a94387000bfd4eca194) | ||
- [Fix: skip the log output of EOF error](https://github.com/apache/dubbo-getty/pull/26) | ||
- [Impl: add travis](https://github.com/apache/dubbo-getty/pull/28) | ||
- [Impl: add writev](https://github.com/apache/dubbo-getty/pull/26) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# | ||
# Licensed to the Apache Software Foundation (ASF) under one or more | ||
# contributor license agreements. See the NOTICE file distributed with | ||
# this work for additional information regarding copyright ownership. | ||
# The ASF licenses this file to You under the Apache License, Version 2.0 | ||
# (the "License"); you may not use this file except in compliance with | ||
# the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
remoteLicenseCheckerPath="https://github.com/dubbogo/resources/raw/master/tools/license" | ||
remoteLicenseCheckerName="license-header-checker" | ||
remoteLicenseCheckerURL="${remoteLicenseCheckerPath}/${remoteLicenseCheckerName}" | ||
remoteLicenseName="license.txt" | ||
remoteLicenseURL="${remoteLicenseCheckerPath}/${remoteLicenseName}" | ||
|
||
licensePath="/tmp/tools/license" | ||
mkdir -p ${licensePath} | ||
wget -P "${licensePath}" ${remoteLicenseCheckerURL} | ||
wget -P "${licensePath}" ${remoteLicenseURL} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
把 go 版本升级到 1.20 吧,这个太低了