Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager manages a signaling server
func NewManager ¶
NewManager creates the manager
func (*Manager) CreatePersistentCommunity ¶
func (m *Manager) CreatePersistentCommunity(community string, password string) (*persisters.Community, error)
CreatePersistentCommunity creates a persistent community, which will not be automatically deleted after the last peer leaves
func (*Manager) DeleteCommunity ¶
DeleteCommunity deletes a community and kicks all peers that joined it
func (*Manager) ListCommunities ¶
func (m *Manager) ListCommunities() ([]persisters.Community, error)
ListCommunities queries all communities
Click to show internal directories.
Click to hide internal directories.