Skip to content

team4yf/fpm-go-plugin-ws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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}