Documentation ¶
Index ¶
- type Manager
- func (m *Manager) AddEndpoint(who refs.FeedRef, edp muxrpc.Endpoint)
- func (m *Manager) AlreadyAdded(who refs.FeedRef, edp muxrpc.Endpoint) bool
- func (m *Manager) Has(who refs.FeedRef) (muxrpc.Endpoint, bool)
- func (m *Manager) List() []string
- func (m *Manager) ListAsRefs() []refs.FeedRef
- func (m *Manager) RegisterAttendantsUpdates(sink broadcasts.AttendantsEmitter)
- func (m *Manager) RegisterLegacyEndpoints(sink broadcasts.EndpointsEmitter)
- func (m *Manager) Remove(who refs.FeedRef)
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
}
func NewManager ¶
func (*Manager) AddEndpoint ¶
AddEndpoint adds the endpoint to the room
func (*Manager) AlreadyAdded ¶
AlreadyAdded returns true if the peer was already added to the room. if it isn't it will be added.
func (*Manager) ListAsRefs ¶
func (*Manager) RegisterAttendantsUpdates ¶
func (m *Manager) RegisterAttendantsUpdates(sink broadcasts.AttendantsEmitter)
func (*Manager) RegisterLegacyEndpoints ¶
func (m *Manager) RegisterLegacyEndpoints(sink broadcasts.EndpointsEmitter)
Click to show internal directories.
Click to hide internal directories.