Skip to content

Server side implementation for socketify

Choose a tag to compare

@V4T54L V4T54L released this 24 Jan 18:49
· 1 commit to main since this release

Implement server-side WebSocket functionality in gosocketify package

  • Added Connection and ConnectionManager structs for managing WebSocket connections.
  • Implemented broadcast, emit, and targeted message sending functionalities.
  • Created Message struct to encapsulate event data.
  • Defined EventDispatcher interface for handling message dispatching and broadcasting.
  • Developed ExampleEventDispatcher implementing basic event handling logic.
  • Enhanced documentation with comprehensive comments for better understanding of the code.