//
pkg.gl
Category
github.com/codyguo/semaphore
api
sockets
package
2.5.1+incompatible
Repository:
https://github.com/codyguo/semaphore.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
8
Dependents
0
Files
168 SLOC
#
Functions
Handler
Handler is used by the router to handle the /ws endpoint.
Message
Message allows a message to be sent to the websockets, called in API task logging.
StartWS
StartWS starts the web sockets in a goroutine.