Documentation
¶
Overview ¶
Package server implements a websocket server that sets up an irc like server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatterBox ¶
type ChatterBox struct {
// contains filtered or unexported fields
}
ChatterBox implements a websocket server for sending messages in channels. Similar to IRC.
func (*ChatterBox) Handler ¶
func (c *ChatterBox) Handler(w http.ResponseWriter, r *http.Request)
Handler implements http.HandleFunc.
Directories
¶
Path | Synopsis |
---|---|
Package state contains our Hub, which is used to store data for a particular channel users are communicating on.
|
Package state contains our Hub, which is used to store data for a particular channel users are communicating on. |
actions
Package actions details boutique.Actions that are used by modifiers to modify the store.
|
Package actions details boutique.Actions that are used by modifiers to modify the store. |
data
Package data holds the Store object that is used by our boutique instances.
|
Package data holds the Store object that is used by our boutique instances. |
middleware
Package middleware provides middleware to our boutique.Container.
|
Package middleware provides middleware to our boutique.Container. |
modifiers
Package modifiers holds all the boutique.Updaters and the boutique.Modifer for the state store.
|
Package modifiers holds all the boutique.Updaters and the boutique.Modifer for the state store. |
Click to show internal directories.
Click to hide internal directories.