Skip to content

Add dynamic rate limiting and HTTP control interface - #34

Merged
vearutop merged 2 commits into
masterfrom
dynamic-rate-limit
Aug 4, 2026
Merged

Add dynamic rate limiting and HTTP control interface#34
vearutop merged 2 commits into
masterfrom
dynamic-rate-limit

Conversation

@vearutop

@vearutop vearutop commented Aug 4, 2026

Copy link
Copy Markdown
Member

No description provided.

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

Lines Of Code

Language Files Lines Code Comments Blanks Complexity Bytes
Go 8 1662 (+159) 1274 (+125) 45 (+4) 343 (+30) 347 (+39) 35.8K (+4.2K)
Go (test) 3 74 62 0 12 10 1.7K (+21B)
Makefile 1 44 31 5 8 5 1.6K (+1B)
Markdown 5 253 (+21) 203 (+17) 0 50 (+4) 0 9.5K (+899B)
YAML 7 520 (-23) 470 (-4) 21 (-13) 29 (-6) 0 17.1K (-947B)

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

Go API Changes

# summary
Inferred base version: v0.3.23
Suggested version: v0.3.24

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

Unit Test Coverage

total: (statements) 34.6%
changed lines: (statements) 41.5%, coverage is less than 90.0%, consider testing the changes more thoroughly

Coverage of changed lines
File Function Coverage
Total 41.5%
cmd/catp/catp/app.go 82.4%
cmd/catp/catp/app.go:29 Main 86.7%
cmd/catp/catp/catp.go 26.4%
cmd/catp/catp/catp.go:461 cat 100.0%
cmd/catp/catp/catp.go:263 scanFile 85.3%
cmd/catp/catp/catp.go:246 linesPush 23.5%
cmd/catp/catp/catp.go:115 st 13.2%
cmd/catp/catp/catp.go:380 formatLimit 0.0%
cmd/catp/catp/catp.go:389 startControlServer 0.0%
cmd/catp/catp/catp.go:445 basicAuth 0.0%
progress.go 0.0%
progress.go:326 count 0.0%
Coverage diff with base branch
File Function Base Coverage Current Coverage
Total 37.8% 34.6% (-3.2%)
cmd/catp/catp/app.go Main 50.0% 51.0% (+1.0%)
cmd/catp/catp/catp.go basicAuth no function 0.0%
cmd/catp/catp/catp.go cat 73.7% 74.5% (+0.8%)
cmd/catp/catp/catp.go formatLimit no function 0.0%
cmd/catp/catp/catp.go linesPush no function 25.0%
cmd/catp/catp/catp.go scanFile 59.3% 49.2% (-10.1%)
cmd/catp/catp/catp.go st 41.0% 35.7% (-5.3%)
cmd/catp/catp/catp.go startControlServer no function 0.0%

@vearutop
vearutop merged commit 1709293 into master Aug 4, 2026
5 checks passed
@vearutop
vearutop deleted the dynamic-rate-limit branch August 4, 2026 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant