ntfy/cmd
Karmanyaah Malhotra c2382d29a1 refactor visitor IPs and allow exempting IP Ranges
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.
2022-10-05 16:04:42 -05:00
..
access.go Bump Go version, Generics whoooo 2022-10-01 15:50:48 -04:00
access_test.go Switch to build tags "noserver" instead of using _linux suffix 2022-05-21 09:46:49 -04:00
app.go Add --trace and --no-log-dates; add docs 2022-06-02 10:50:05 -04:00
app_test.go Do not print ugly WS error; tests 2022-01-15 22:33:35 -05:00
config_loader.go Replace interface{} 2022-10-01 16:31:48 -04:00
config_loader_test.go Support for underscores in server.yml config options 2022-05-16 11:32:21 -04:00
publish.go Reformatting, make update 2022-09-27 12:37:02 -04:00
publish_test.go change icon from object to string 2022-07-17 15:40:24 -06:00
publish_unix.go cmd: add go1.18 build directives 2022-09-01 00:49:08 +03:00
publish_windows.go ntfy publish --pid $PID ... 2022-06-20 10:56:45 -04:00
serve.go refactor visitor IPs and allow exempting IP Ranges 2022-10-05 16:04:42 -05:00
serve_test.go macOS server support, this is just to support iOS development, not for prod 2022-05-11 13:47:41 -04:00
subscribe.go Remove unnecessary else branch 2022-08-18 21:04:30 -04:00
subscribe_darwin.go Logging 2022-06-01 16:57:35 -04:00
subscribe_unix.go cmd: add go1.18 build directives 2022-09-01 00:49:08 +03:00
subscribe_windows.go Add --trace and --no-log-dates; add docs 2022-06-02 10:50:05 -04:00
user.go Bump Go version, Generics whoooo 2022-10-01 15:50:48 -04:00
user_test.go Switch to build tags "noserver" instead of using _linux suffix 2022-05-21 09:46:49 -04:00