Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetStr ¶
SetStr sets a key and hostname pair to a certain value. If the value is nil, then it deletes the key. Otherwise the value should point to a string. TODO: TTL or delete disconnect?
func WatchStr ¶
WatchStr returns a channel which spits out events on key activity. FIXME: It should close the channel when it's done, and spit out errors when something goes wrong. XXX: since the caller of this (via the World API) has no way to tell it it's done, does that mean we leak go-routines since it might still be running, but perhaps even blocked??? Could this cause a dead-lock? Should we instead return some sort of struct which has a close method with it to ask for a shutdown?
Types ¶
This section is empty.