Documentation ¶
Overview ¶
Package mist ...
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Publish ¶
todo: delete these 2. limiting what is a subscriber makes this not needed if they subscribe to a thing on a reused connection, they wanted to get updates.. hopefully
Publish publishes to ALL subscribers. Usefull in client applications who reuse the publish connection for subscribing (publishes to self)
func PublishAfter ¶
PublishAfter publishes to ALL subscribers. Usefull in client applications who reuse the publish connection for subscribing
Types ¶
type Message ¶
type Message struct { Command string `json:"command"` Tags []string `json:"tags,omitempty"` Data string `json:"data,omitempty"` Error string `json:"error,omitempty"` }
A Message contains the tags used when subscribing, and the data that is being published through mist
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
Node ...
Click to show internal directories.
Click to hide internal directories.