contacts

package
v0.0.0-...-4b98c26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2021 License: AGPL-3.0 Imports: 8 Imported by: 0

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.

func Routes

func Routes(router *echo.Group)

Routes sets the routing for the contacts.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL