add the DefaultIDGenerator as variable to the iris neffos helpers

Former-commit-id: db0f6361823c99969ccd6da06db560177c45dade
This commit is contained in:
Gerasimos (Makis) Maropoulos 2019-07-01 18:50:13 +03:00
parent 7e6dc3240a
commit 69171e844d

View File

@ -27,6 +27,9 @@ var (
// //
// See examples for more. // See examples for more.
New = neffos.New New = neffos.New
// DefaultIDGenerator returns a universal unique identifier for a new connection.
// It's the default `IDGenerator` for `Server`.
DefaultIDGenerator = neffos.DefaultIDGenerator
// GorillaDialer is a `Dialer` type for the gorilla/websocket subprotocol implementation. // GorillaDialer is a `Dialer` type for the gorilla/websocket subprotocol implementation.
// Should be used on `Dial` to create a new client/client-side connection. // Should be used on `Dial` to create a new client/client-side connection.