package
0.0.0-20220130122631-2187358dea6e
Repository: https://github.com/juanvallejo/streaming-server.git
Documentation: pkg.go.dev

# Functions

BindDefaultuserRoles computes the default roles to assign to a given connection request based on previously stored auth data as well as a connection's namespace state.
No description provided by the author
No description provided by the author
GetRoomNameFromRequest receives a socket connection request and returns a fully-qualified room name from the request's referer information.
serializeIntoResponse receives an api.ApiCodec and serializes it into a given structure pointer.
No description provided by the author
TODO: make this function concurrency-safe.
UpdatedAuthCookie receives a request, namespace, and set of roles and returns an existing auth cookie with its role data updated, or a new auth cookie with the given role data.

# Constants

No description provided by the author