Skip to content
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

rate limit filter #169

Merged
merged 45 commits into from
Jun 24, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
848409d
update dubbo-go to v1.5.6 & fmt sth.
mark4z Apr 15, 2021
8133665
fix fmt
mark4z Apr 15, 2021
980669a
Merge branch 'develop' into update_dubbo
mark4z Apr 21, 2021
67d98da
Update go.mod
mark4z Apr 22, 2021
f3f2437
update dubbo-go to v1.5.6 & fmt sth.
mark4z Apr 22, 2021
44543c4
update dubbo-go to v1.5.6 & fmt sth.
mark4z Apr 15, 2021
bca62b8
fix fmt
mark4z Apr 15, 2021
0547c78
Merge branch 'develop' into update_dubbo
mark4z Apr 28, 2021
af4a56f
rateLimit filter
mark4z Mar 19, 2021
9b99a24
add licence header
mark4z May 17, 2021
c865a5d
fix imports
mark4z May 17, 2021
2e35f60
add license header
mark4z May 17, 2021
564a2d3
add license header
mark4z May 17, 2021
be02472
Merge branch 'develop' into ratelimit
kezhenxu94 May 17, 2021
2563b4d
fix ci
mark4z May 17, 2021
93363b7
Merge remote-tracking branch 'origin/ratelimit' into ratelimit
mark4z May 17, 2021
90836a4
Merge branch 'develop' into ratelimit
mark4z May 18, 2021
da69b51
fix matcher var inline
mark4z May 18, 2021
49015e4
Merge remote-tracking branch 'origin/ratelimit' into ratelimit
mark4z May 18, 2021
2dd2b8e
Merge branch 'develop' into update_dubbo
mark4z May 18, 2021
172ad82
fix ci
mark4z May 18, 2021
c73a7d0
fix sync.RWMutex
mark4z May 18, 2021
153e99c
errors.warp
mark4z May 18, 2021
02cb291
test table
mark4z May 18, 2021
15a66ed
remove unreachable statement
mark4z May 19, 2021
b9a7c17
Pattern pattern,omitempty
mark4z May 21, 2021
b435753
Merge branch 'develop' of https://github.com/apache/dubbo-go-pixiu in…
mark4z May 23, 2021
8a6dae2
update develop
mark4z May 23, 2021
79d0c3b
update the docs for ratelimit
mark4z May 28, 2021
602f8b2
update develop
mark4z May 29, 2021
c3a7da5
ratelimit filter
mark4z Jun 6, 2021
b93e6b1
ratelimit filter
mark4z Jun 6, 2021
5ef9f3a
ratelimit filter
mark4z Jun 6, 2021
f0e7b70
Merge branch 'develop' into update_dubbo
mark4z Jun 10, 2021
ee45a7b
ratelimit filter
mark4z Jun 10, 2021
bb18bb0
ratelimit filter
mark4z Jun 11, 2021
fd1abef
ratelimit filter
mark4z Jun 11, 2021
5f9e8ca
ratelimit filter
mark4z Jun 12, 2021
10d44e8
ratelimit filter
mark4z Jun 13, 2021
5d24779
Merge branch 'update_dubbo' into ratelimit
mark4z Jun 13, 2021
a4597ab
ratelimit filter
mark4z Jun 13, 2021
a482ff4
ratelimit filter
mark4z Jun 13, 2021
5429895
ratelimit filter
mark4z Jun 13, 2021
8af536e
ratelimit filter
mark4z Jun 13, 2021
33e3246
Merge branch 'develop' of https://github.com/apache/dubbo-go-pixiu in…
mark4z Jun 24, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ratelimit filter
  • Loading branch information
mark4z committed Jun 13, 2021
commit a482ff4532da95070a50b6e4aa2142e70fbb1116
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module github.com/apache/dubbo-go-pixiu
go 1.14

require (
github.com/alibaba/sentinel-golang v1.0.2
github.com/apache/dubbo-go v1.5.7-rc1
github.com/apache/dubbo-go-hessian2 v1.9.2
github.com/coreos/etcd v3.3.25+incompatible
Expand Down
2 changes: 1 addition & 1 deletion pkg/pixiu/pixiu_start.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
package pixiu

import (
"github.com/apache/dubbo-go-pixiu/pkg/initialize"
"net/http"
"strconv"
"sync"
Expand All @@ -30,6 +29,7 @@ import (
"github.com/apache/dubbo-go-pixiu/pkg/config"
// The filter needs to be initialized
_ "github.com/apache/dubbo-go-pixiu/pkg/filter"
"github.com/apache/dubbo-go-pixiu/pkg/initialize"
"github.com/apache/dubbo-go-pixiu/pkg/logger"
"github.com/apache/dubbo-go-pixiu/pkg/model"
"github.com/apache/dubbo-go-pixiu/pkg/service/api"
Expand Down
2 changes: 1 addition & 1 deletion pkg/service/api/discovery_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ package api
import (
"errors"
"fmt"
"github.com/apache/dubbo-go-pixiu/pkg/filter/plugins"
"strings"
)

import (
"github.com/apache/dubbo-go-pixiu/pkg/common/constant"
"github.com/apache/dubbo-go-pixiu/pkg/common/extension"
pc "github.com/apache/dubbo-go-pixiu/pkg/config"
"github.com/apache/dubbo-go-pixiu/pkg/filter/plugins"
"github.com/apache/dubbo-go-pixiu/pkg/router"
"github.com/apache/dubbo-go-pixiu/pkg/service"
)
Expand Down