mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 18:07:01 +00:00
add the DefaultIDGenerator as variable to the iris neffos helpers
Former-commit-id: db0f6361823c99969ccd6da06db560177c45dade
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user