1.0.0 • Published 5 years ago

@malgo-fe/version-listener v1.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

version listener

config

use yaml

apps:
  - name: mhra
    token: xxxxxx

endpoint

{
  "app": "mhra",
  "token": "xxxx"
}

When a post request is sent to the endpoint, the socket will broadcast a message to all clients listened on the app channel to get notified that the app has a new version.

socket

Every app has a channel, and