Documentation ¶
Index ¶
- Variables
- func Join(url string) error
- func Listen(listen string) error
- func ListenAndJoin(listen string, join []string) error
- func NewConnection(ws *websocket.Conn) (*connection, error)
- func StartAutoDiscover() error
- func Wait()
- type Command
- type Entry
- type NodeInfo
- type Owner
- type OwnerMap
- type Store
- func (s *Store) AddAll(store *Store)
- func (s *Store) GetMyEntries() *Store
- func (s *Store) GetOrCreateOwnerMap(path string) *OwnerMap
- func (s *Store) GetOwnerMap(path string) *OwnerMap
- func (s *Store) Put(path string, client string, value interface{})
- func (s *Store) PutStatic(path string, value interface{})
- func (s *Store) ReadAll(proc StoreWalker)
- func (s *Store) RemoveForNode(node *NodeInfo)
- func (s *Store) Spew() string
- func (s *Store) String() string
- type StoreWalker
- type Sync
Constants ¶
This section is empty.
Variables ¶
View Source
var MyStore = NewSafeStore()
Functions ¶
func ListenAndJoin ¶
func NewConnection ¶
func StartAutoDiscover ¶
func StartAutoDiscover() error
Types ¶
type OwnerMap ¶
type OwnerMap struct { Data map[Owner]interface{} // contains filtered or unexported fields }
type Store ¶
func NewSafeStore ¶
func NewSafeStore() *Store
func (*Store) GetMyEntries ¶
func (*Store) GetOrCreateOwnerMap ¶
func (*Store) GetOwnerMap ¶
func (*Store) ReadAll ¶
func (s *Store) ReadAll(proc StoreWalker)
func (*Store) RemoveForNode ¶
type StoreWalker ¶
Click to show internal directories.
Click to hide internal directories.