messagebus

package
v0.0.0-...-df163ab Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageBus

type MessageBus struct {
	// Set the http file server.
	Port      int
	ChannelID string
	Server    *glue.Server
	Channel   *glue.Channel
	// contains filtered or unexported fields
}

func NewMessageBus

func NewMessageBus(port int, channel string) *MessageBus

func (*MessageBus) CreateChannel

func (mb *MessageBus) CreateChannel(s *glue.Socket)

func (*MessageBus) CreateServer

func (mb *MessageBus) CreateServer() *glue.Server

Directories

Path Synopsis
Package glue - Robust Go and Javascript Socket Library.
Package glue - Robust Go and Javascript Socket Library.
backend
Package backend provides the server backend with various socket implementations.
Package backend provides the server backend with various socket implementations.
backend/closer
Emit a close function only once, also if called multiple times.
Emit a close function only once, also if called multiple times.
backend/global
Package global provides global types and constants for the backend packages.
Package global provides global types and constants for the backend packages.
backend/sockets/ajaxsocket
Package ajaxsocket provides the ajax socket implementation.
Package ajaxsocket provides the ajax socket implementation.
log
Package log holds the log backend used by the socket library.
Package log holds the log backend used by the socket library.
utils
Package utils provides utilities for the glue socket implementation.
Package utils provides utilities for the glue socket implementation.

Jump to

Keyboard shortcuts

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