2023-05-07 19:28:49 +02:00

341 B

Example NATS chat application

Users

  • admin is allowed everything
  • client may pusblish and subscribe to the chat channel
  • guest may only read chat messages

Commands

  • Writing anything will publish text as a messages
  • "invalid" will send a non json string
  • "request xyz" will send xyz as a request, getting a automated response