CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 12:49:36 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/alibaba/sentinel-golang.git
etag: W/"2e0b5f935b5149d06af05472542a4638"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=pF2zJ3bUDX0INEXnms0mUIj3EW78ey6J4GrkhtrEXPDuE8jAnJ1m5gCJBoHWvO8i9WuEOccKMX9fCDc0jr0gGEOH9ahUIyQLsij3NSzh%2Bw7PSmWWxxo%2BkA0cySg3TjCvhQ7u%2FHdyMegg5ZDjIaOOjr9TD7%2FW4JBNJnx0OrRB5bp0z%2BMxzKT5o5hbwSw%2FEcicKKC78k1NQoT0C266vTAyWXoMByr%2FbddLBelw%2FAAkhsmVKxJjt238jZ6Q5rRRlal9%2BC2ABSzkAQbZf9Gxmzchyg%3D%3D--VxflmoqonPZ%2F5Syp--vb1RYPGm%2BN4J%2BeIWjP%2BDsQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.183826933.1753620576; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 12:49:36 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 12:49:36 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9260:3240E6:E3AA03:12C2B77:68862060
Make circuitbreaker.Rule a unified struct entity for all circuit brea… · alibaba/sentinel-golang@461e21b · GitHub
Copy file name to clipboardExpand all lines: core/circuitbreaker/circuit_breaker.go
Copy file name to clipboardExpand all lines: core/circuitbreaker/circuit_breaker_test.go
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 445
Commit 461e21b
File tree
Expand file treeCollapse file tree
18 files changed
+499
-603
lines changedFilter options
- core
- circuitbreaker
- hotspot
- example/circuitbreaker
- ext/datasource
- tests
- core/circuitbreaker
- testdata/extension/helper
- util
Expand file treeCollapse file tree
18 files changed
+499
-603
lines changedcore/circuitbreaker/circuit_breaker.go
Copy file name to clipboardExpand all lines: core/circuitbreaker/circuit_breaker.go+36-31Lines changed: 36 additions & 31 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
14 |
| - | |
15 |
| - | |
16 |
| - | |
17 |
| - | |
18 |
| - | |
19 |
| - | |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 |
| - | |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 |
| - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
28 | 27 |
| |
29 | 28 |
| |
30 | 29 |
| |
| |||
67 | 66 |
| |
68 | 67 |
| |
69 | 68 |
| |
| 69 | + | |
| 70 | + | |
70 | 71 |
| |
71 | 72 |
| |
72 | 73 |
| |
73 | 74 |
| |
| 75 | + | |
| 76 | + | |
74 | 77 |
| |
75 | 78 |
| |
76 | 79 |
| |
| 80 | + | |
| 81 | + | |
77 | 82 |
| |
78 | 83 |
| |
79 | 84 |
| |
80 | 85 |
| |
81 | 86 |
| |
82 | 87 |
| |
83 |
| - | |
| 88 | + | |
84 | 89 |
| |
85 | 90 |
| |
86 | 91 |
| |
| |||
96 | 101 |
| |
97 | 102 |
| |
98 | 103 |
| |
99 |
| - | |
| 104 | + | |
100 | 105 |
| |
101 | 106 |
| |
102 | 107 |
| |
| |||
107 | 112 |
| |
108 | 113 |
| |
109 | 114 |
| |
110 |
| - | |
| 115 | + | |
111 | 116 |
| |
112 | 117 |
| |
113 | 118 |
| |
| |||
129 | 134 |
| |
130 | 135 |
| |
131 | 136 |
| |
132 |
| - | |
| 137 | + | |
133 | 138 |
| |
134 | 139 |
| |
135 | 140 |
| |
| |||
141 | 146 |
| |
142 | 147 |
| |
143 | 148 |
| |
144 |
| - | |
| 149 | + | |
145 | 150 |
| |
146 | 151 |
| |
147 | 152 |
| |
| |||
154 | 159 |
| |
155 | 160 |
| |
156 | 161 |
| |
157 |
| - | |
| 162 | + | |
158 | 163 |
| |
159 | 164 |
| |
160 | 165 |
| |
| |||
171 | 176 |
| |
172 | 177 |
| |
173 | 178 |
| |
174 |
| - | |
| 179 | + | |
175 | 180 |
| |
176 | 181 |
| |
177 | 182 |
| |
| |||
183 | 188 |
| |
184 | 189 |
| |
185 | 190 |
| |
186 |
| - | |
| 191 | + | |
187 | 192 |
| |
188 | 193 |
| |
189 | 194 |
| |
| |||
199 | 204 |
| |
200 | 205 |
| |
201 | 206 |
| |
202 |
| - | |
| 207 | + | |
203 | 208 |
| |
204 | 209 |
| |
205 | 210 |
| |
| |||
211 | 216 |
| |
212 | 217 |
| |
213 | 218 |
| |
214 |
| - | |
| 219 | + | |
215 | 220 |
| |
216 | 221 |
| |
217 | 222 |
| |
218 | 223 |
| |
219 |
| - | |
| 224 | + | |
220 | 225 |
| |
221 | 226 |
| |
222 | 227 |
| |
| |||
385 | 390 |
| |
386 | 391 |
| |
387 | 392 |
| |
388 |
| - | |
| 393 | + | |
389 | 394 |
| |
390 | 395 |
| |
391 | 396 |
| |
| |||
402 | 407 |
| |
403 | 408 |
| |
404 | 409 |
| |
405 |
| - | |
| 410 | + | |
406 | 411 |
| |
407 | 412 |
| |
408 | 413 |
| |
| |||
565 | 570 |
| |
566 | 571 |
| |
567 | 572 |
| |
568 |
| - | |
| 573 | + | |
569 | 574 |
| |
570 | 575 |
| |
571 | 576 |
| |
| |||
577 | 582 |
| |
578 | 583 |
| |
579 | 584 |
| |
580 |
| - | |
| 585 | + | |
581 | 586 |
| |
582 | 587 |
| |
583 | 588 |
| |
584 | 589 |
| |
585 |
| - | |
| 590 | + | |
586 | 591 |
| |
587 | 592 |
| |
588 | 593 |
| |
|
core/circuitbreaker/circuit_breaker_test.go
Copy file name to clipboardExpand all lines: core/circuitbreaker/circuit_breaker_test.go+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 |
| - | |
| 17 | + | |
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
|
You can’t perform that action at this time.
0 commit comments