package
0.4.0
Repository: https://github.com/acepero13/asr-server-cer.git
Documentation: pkg.go.dev

# Functions

DisconnectClient Closes the connection with the specified client.
NewSender Creates a new stateful cerence sender.
OnConnected When a new ws client connects, it creates and returns a client which is ready to connect to cerence server.
WebSocketApp Higher level APIS for ws connection.

# Variables

ConnectedClients List for connected clients.
CRITIC A critical error occurred in the websocket.
UNIMPORTANT A non critical error happened.

# Structs

Client Information related to one client.
Sender Stateful sender.
SError Indicates an error occurred.It contains the error itself and the level of severity.
Severity Indicates the error severity.

# Interfaces

ClientCallbacks Api for callback functions for ws eventsOnMessage New message arrived from clientWrite sync write to send to client.