Documentation ¶
Overview ¶
Package space handles API calls and persistence for spaces. Spaces in Documize contain documents.
Index ¶
- type Handler
- func (h *Handler) AcceptInvitation(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Add(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Delete(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Get(w http.ResponseWriter, r *http.Request)
- func (h *Handler) GetAll(w http.ResponseWriter, r *http.Request)
- func (h *Handler) GetViewable(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Invite(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Remove(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Update(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
Handler contains the runtime information such as logging and database.
func (*Handler) AcceptInvitation ¶
func (h *Handler) AcceptInvitation(w http.ResponseWriter, r *http.Request)
AcceptInvitation records the fact that a user has completed space onboard process.
func (*Handler) Add ¶
func (h *Handler) Add(w http.ResponseWriter, r *http.Request)
Add creates a new space.
func (*Handler) Delete ¶
func (h *Handler) Delete(w http.ResponseWriter, r *http.Request)
Delete removes space.
func (*Handler) Get ¶
func (h *Handler) Get(w http.ResponseWriter, r *http.Request)
Get returns the requested space.
func (*Handler) GetAll ¶
func (h *Handler) GetAll(w http.ResponseWriter, r *http.Request)
GetAll returns every space for documize admin users to manage
func (*Handler) GetViewable ¶ added in v1.54.0
func (h *Handler) GetViewable(w http.ResponseWriter, r *http.Request)
GetViewable returns spaces the user can see.
func (*Handler) Invite ¶
func (h *Handler) Invite(w http.ResponseWriter, r *http.Request)
Invite sends users space invitation emails.
Click to show internal directories.
Click to hide internal directories.