Documentation ¶
Overview ¶
Package presence provides the proxy for the innerpresence.Presence to be manipulated from the outside. TODO(hackerwins): Consider to remove this package. It is used to solve the problem of cyclic dependency between pkg/document/presence and pkg/document/change.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Presence ¶
type Presence struct {
// contains filtered or unexported fields
}
Presence represents a proxy for the Presence to be manipulated from the outside.
func New ¶
func New(ctx *change.Context, presence innerpresence.Presence) *Presence
New creates a new instance of Presence.
func (*Presence) Initialize ¶
func (p *Presence) Initialize(presence innerpresence.Presence)
Initialize initializes the presence.
Click to show internal directories.
Click to hide internal directories.