Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶ added in v0.25.0
type Connection struct {
// contains filtered or unexported fields
}
Connection represents a connection
type FrontendBridge ¶
type FrontendBridge struct {
// contains filtered or unexported fields
}
FrontendBridge handles communication between an Exosphere backend and a browser front-end using websockets
func NewFrontendBridge ¶ added in v0.27.0
func NewFrontendBridge(config exosocket.Config, messageBufferSize int, clientPort string) *FrontendBridge
NewFrontendBridge returns a FrontendBridge instance
func (*FrontendBridge) Close ¶
func (w *FrontendBridge) Close() error
Close closes the server, all the open sockets, and nils the socketMap
func (*FrontendBridge) Open ¶
func (w *FrontendBridge) Open() error
Open sets up connection to exocom and a server to listen for connections from clients
Click to show internal directories.
Click to hide internal directories.