Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(fcm): add context parameter to various functions #775

Merged
merged 1 commit into from
Jun 15, 2024
Merged

Commits on Jun 15, 2024

  1. refactor: add context parameter to various functions

    - Introduce `graceful.NewManager` initialization in `main.go`
    - Modify `pinger` function to accept a context parameter
    - Update `PushToAndroid` function to accept a context parameter
    - Update `InitFCMClient` function to accept a context parameter
    - Replace `context.Background()` with passed context in various functions
    - Add context import in `notification_fcm_test.go`
    
    Signed-off-by: appleboy <appleboy.tw@gmail.com>
    appleboy committed Jun 15, 2024
    Configuration menu
    Copy the full SHA
    f88844b View commit details
    Browse the repository at this point in the history