Discover Packages
github.com/Beyond-Technology/cozy-stack
web
realtime
package
Version:
v0.0.0-...-4b98c26
Opens a new window with list of versions in this module.
Published: Dec 7, 2021
License: AGPL-3.0
Opens a new window with license information.
Imports: 17
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func Notify(c echo.Context) error
Notify is the API handler for POST /realtime/:doctype/:id: this route can be
used to send documents in the real-time without having to persist them in
CouchDB.
func Routes(router *echo.Group)
Routes set the routing for the realtime service
func Ws(c echo.Context) error
Ws is the API handler for realtime via a websocket connection.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.