Documentation ¶
Overview ¶
Package contacts exposes a route for the myself document.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MyselfHandler ¶
func MyselfHandler(c echo.Context) error
MyselfHandler is the handler for POST /contacts/myself. It returns the information about the io.cozy.contacts document for the owner of this instance, the "myself" contact. If the document does not exist, it is recreated with some basic fields.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.