From 69171e844d09385f24298066ed5227c0dea69924 Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Mon, 1 Jul 2019 18:50:13 +0300 Subject: [PATCH] add the DefaultIDGenerator as variable to the iris neffos helpers Former-commit-id: db0f6361823c99969ccd6da06db560177c45dade --- websocket/websocket.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/websocket/websocket.go b/websocket/websocket.go index e21a5536..2c101278 100644 --- a/websocket/websocket.go +++ b/websocket/websocket.go @@ -27,6 +27,9 @@ var ( // // See examples for more. 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. // Should be used on `Dial` to create a new client/client-side connection.