webpush-client-go

module
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2025 License: MIT

README

webpush-client-go

webpush-client-goは、Golangで実装されたWebPushを受信するためのクライアントおよびライブラリです。

Features

  • RFC8188メッセージの暗号化・復号
    • aes128gcmのみのサポート
  • RFC8291メッセージの暗号化・復号
  • AutoPush (Mozilla Push Service) のクライアント
  • Application Serverごとのクライアント

Examples

examplesを参照してください。

  • examples/ece: 単純なRFC8291メッセージの暗号化・復号
  • examples/nicopush: ニコニコのWebPush通知を受信します(AutoPush)
NicoPush

NICONICO_USER_SESSION_VALUEnicovideo.jpuser_sessionクッキーの値を指定してください。

echo '{"user_session":"NICONICO_USER_SESSION_VALUE"}' > config.json

go run ./examples/nicopush/main.go

References

LICENSE

MIT

Author

shinosaki

Directories

Path Synopsis
examples
ece command
nicopush command
sites

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL