mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-11-22 19:17:35 +03:00
c2382d29a1
Use netip.Addr instead of storing addresses as strings. This requires conversions at the database level and in tests, but is more memory efficient otherwise, and facilitates the following. Parse rate limit exemptions as netip.Prefix. This allows storing IP ranges in the exemption list. Regular IP addresses (entered explicitly or resolved from hostnames) are IPV4/32, denoting a range of one address. |
||
---|---|---|
.. | ||
embedfs | ||
content_type_writer_test.go | ||
content_type_writer.go | ||
embedfs_test.go | ||
embedfs.go | ||
gzip_handler_test.go | ||
gzip_handler.go | ||
limit_test.go | ||
limit.go | ||
peek_test.go | ||
peek.go | ||
time_test.go | ||
time.go | ||
util_test.go | ||
util.go |