Discover Packages
github.com/cozy/cozy-stack
web
public
package
Version:
v0.0.0-...-bb45146
Opens a new window with list of versions in this module.
Published: Feb 4, 2025
License: AGPL-3.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package public adds some public routes that can be used to give information
to anonymous users, or to the not yet authentified cozy owner on its login
page.
func Avatar(c echo.Context) error
Avatar returns the default avatar currently.
func Prelogin(c echo.Context) error
Prelogin returns information that could be useful to show a login page (like
in the flagship app).
func Routes(router *echo.Group)
Routes sets the routing for the public service
Source Files
¶
Click to show internal directories.
Click to hide internal directories.