messageServer

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

The messageServer package implements a general purpose messaging platform based on the gorilla websocket implementation. The platform is similar to other messaging platforms like pubnub, in that it is channel based.

This means that you can replace it with the distributed messaging platform of your choice as your app grows.

See the web/assets/js/goradd-ws.js for the client side.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Send added in v0.3.1

func Send(channel string, message interface{})

Types

type MessengerI added in v0.3.1

type MessengerI interface {
	JavascriptInit() string
	Send(channel string, message string)
	JavascriptFiles() map[string]html.Attributes
}
var Messenger MessengerI

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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