Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 365 Bytes

README.md

File metadata and controls

30 lines (25 loc) · 365 Bytes

fpm-go-plugin-ws

Config

ws:
  enable: true
  namespace:
    foo:
      name: "foo"
      validation: "key" # key or jwt
      extra: "abc"
    bar:
      name: "bar"

Events

  • #ws/receive

      {
      	"namespace": "",
      	"message": "",
      	"clientID": "",
      }
  • #ws/errors/${namespace}

  • #ws/connect/${namespace}

  • #ws/close/${namespace}