feat: introduce vars.go
for websocket package
- update comments
- move `Done` variable to vars.go
- move `Connected()` method
🤖
This commit is contained in:
parent
342ecde6bb
commit
9b7dc19935
3 changed files with 10 additions and 7 deletions
internal/websocket
4
internal/websocket/vars.go
Normal file
4
internal/websocket/vars.go
Normal file
|
@ -0,0 +1,4 @@
|
|||
package websocket
|
||||
|
||||
// Websocket closure
|
||||
var Done = make(chan struct{})
|
Loading…
Add table
Add a link
Reference in a new issue