MCPcopy Create free account
hub / github.com/PuerNya/git-proxy / IPLimiter

Struct IPLimiter

main.go:68–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68type IPLimiter struct {
69 records map[string]*AccessRecord
70 limit int
71
72 sync.RWMutex
73}
74
75func NewIPLimiter() *IPLimiter {
76 return &IPLimiter{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected