communication

package
v0.0.0-...-d2ec881 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL