You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/ipn/localapi
Andrea Gottardo 95715c4a12
ipn/localapi: add endpoint to handle APNS payloads (#9972)
* ipn/localapi: add endpoint to handle APNS payloads

Fixes #9971. This adds a new `handle-push-message` local API endpoint. When an APNS payload is delivered to the main app, this endpoint can be used to forward the JSON body of the message to the backend, making a POST request.

cc @bradfitz

Signed-off-by: Andrea Gottardo <andrea@tailscale.com>

* Address comments from code review

Signed-off-by: Andrea Gottardo <andrea@tailscale.com>

---------

Signed-off-by: Andrea Gottardo <andrea@tailscale.com>
2 years ago
..
cert.go ipn/ipnlocal: do unexpired cert renewals in the background 2 years ago
debugderp.go all: avoid repeated default interface lookups 3 years ago
disabled_stubs.go all: update copyright and license headers 3 years ago
localapi.go ipn/localapi: add endpoint to handle APNS payloads (#9972) 2 years ago
localapi_test.go ipn/localapi: require local Windows admin to set serve path (#9969) 2 years ago
pprof.go all: update copyright and license headers 3 years ago