SIGN IN SIGN UP
fatedier / frp UNCLAIMED

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.

0 0 0 Go

pkg: use modern Go stdlib functions to simplify code (#5209)

- strings.CutPrefix instead of HasPrefix+TrimPrefix (naming, legacy)
- slices.Contains instead of manual loop (plugin/server)
- min/max builtins instead of manual comparisons (nathole)
F
fatedier committed
e9f7a1a9f262930e032380cbd8a38c1f7978c7a6
Parent: d644593
Committed by GitHub <noreply@github.com> on 3/6/2026, 2:14:46 PM