Documentation
¶
Overview ¶
Package relayR provides simple APIs for adding real-time communication to Go web applications.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ClientScriptFunc func([]byte) []byte
Functions ¶
Types ¶
type Exchange ¶
Exchange is the root object required to interact with the RelayR package
func (*Exchange) RegisterRelay ¶
func (e *Exchange) RegisterRelay(relay interface{})
RegisterRelay registers a struct with an Exchange. If the struct does not embed relayR.Relay, it will panic.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.

