Documentation
¶
Overview ¶
Package workspaces handles the orchestration of workspace-related operations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
Service provides workspace management operations.
func NewService ¶
NewService creates a new workspaces service.
func (*Service) Invite ¶
Invite adds a member to a workspace by encrypting the workspace key for them.
func (*Service) Members ¶
func (s *Service) Members(workspaceID string) ([]WorkspaceMember, error)
Members lists all members of a workspace.
func (*Service) RemoveMember ¶
RemoveMember removes a member from a workspace.
type WorkspaceMember ¶
type WorkspaceMember struct {
Email string `json:"email"`
Role string `json:"role"`
Status string `json:"status"`
}
WorkspaceMember represents a member of a workspace.
Click to show internal directories.
Click to hide internal directories.