The websocket client and hub interaction has been simplified a bit. The hub now acts only as a tee writer to the various clients that register. Clients must register and unregister explicitly. The hub is no longer passed in to the client. Websocket clients now watch for password changes or jwt token expiration times. Clients are disconnected if auth token expires or if the password is changed. Various aditional safety checks have been added. Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com> |
||
|---|---|---|
| .. | ||
| admin_required.go | ||
| auth.go | ||
| context.go | ||
| init_required.go | ||
| instance_middleware.go | ||
| interfaces.go | ||
| jwt.go | ||
| metrics.go | ||