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.