Discover Packages
github.com/benjamonnguyen/guber-rideshare-simulator/sim-engine
client
package
Version:
v0.0.0-...-71c4e10
Opens a new window with list of versions in this module.
Published: Oct 13, 2023
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package client provides a reconnectable client based on gorilla/websocket
func (client *Client ) Connect()
Shutdown gracefully closes the connection by sending the websocket.CloseMessage.
The writeWait param defines the duration before the deadline of the write operation is hit.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.