Documentation
¶
Overview ¶
Package app provides helpers for server applications interacting with Perkeep. See also https://perkeep.org/doc/app-environment for the related variables.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Auth ¶
Auth returns the auth mode for the app to access Perkeep, as defined by environment variables automatically supplied by the Perkeep server host.
func Client ¶
Client returns a Perkeep client as defined by environment variables automatically supplied by the Perkeep server host.
func ListenAddress ¶
ListenAddress returns the host:[port] network address, derived from the environment, that the application should listen on.
func PathPrefix ¶
PathPrefix returns the app's prefix on the app handler if the request was proxied through Perkeep, or "/" if the request went directly to the app.
Types ¶
This section is empty.