Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
type Service interface { Record(ctx context.Context, userID, workspaceID string, state presence.State) (*presence.Presence, error) ListByWorkspace(ctx context.Context, workspaceID string) ([]*presence.Presence, error) }
func New ¶
func New(presenceRepo db_presence.PresenceRepository, eventSender events.EventSender) Service
Click to show internal directories.
Click to hide internal directories.