Documentation ¶
Index ¶
Constants ¶
View Source
const ( // SemaphoreAddr is a endpoint // addres to start communication // between client and server SemaphoreAddr = "/semaphore" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Communicator ¶
type Communicator interface { // Start communication module. Error // will be nil, if there is none Start() error }
Communicator must be implemented by all structs which are used for communication between client and server
func NewWebsocketModule ¶
func NewWebsocketModule(sem chan struct{}) Communicator
Click to show internal directories.
Click to hide internal directories.