Documentation ¶
Overview ¶
Package system contains a collection of packages that make up the internal Ponzu system, which handles addons, administration, the Admin server, the API server, analytics, databases, search, TLS, and various internal types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BasicAuth ¶
func BasicAuth(next http.HandlerFunc) http.HandlerFunc
BasicAuth adds HTTP Basic Auth check for requests that should implement it
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package addon provides an API for Ponzu addons to interface with the system
|
Package addon provides an API for Ponzu addons to interface with the system |
Package admin desrcibes the admin view containing references to various managers and editors
|
Package admin desrcibes the admin view containing references to various managers and editors |
config
Package config provides a content type to manage the Ponzu system's configuration settings for things such as its name, domain, HTTP(s) port, email, server defaults and backups.
|
Package config provides a content type to manage the Ponzu system's configuration settings for things such as its name, domain, HTTP(s) port, email, server defaults and backups. |
upload
Package upload provides a re-usable file upload and storage utility for Ponzu systems to handle multipart form data.
|
Package upload provides a re-usable file upload and storage utility for Ponzu systems to handle multipart form data. |
user
Package user contains the basic admin user creation and authentication code, specific to Ponzu systems.
|
Package user contains the basic admin user creation and authentication code, specific to Ponzu systems. |
Package api sets the various API handlers which provide an HTTP interface to Ponzu content, and include the types and interfaces to enable client-side interactivity with the system.
|
Package api sets the various API handlers which provide an HTTP interface to Ponzu content, and include the types and interfaces to enable client-side interactivity with the system. |
analytics
Package analytics provides the methods to run an analytics reporting system for API requests which may be useful to users for measuring access and possibly identifying bad actors abusing requests.
|
Package analytics provides the methods to run an analytics reporting system for API requests which may be useful to users for measuring access and possibly identifying bad actors abusing requests. |
cfg
module
|
|
Package db contains all interfaces to the databases used by Ponzu, including exported functions to easily manage addons, users, indices, search, content, and configuration.
|
Package db contains all interfaces to the databases used by Ponzu, including exported functions to easily manage addons, users, indices, search, content, and configuration. |
Package item provides the default functionality to Ponzu's content/data types, how they interact with the API, and how to override or enhance their abilities using various interfaces.
|
Package item provides the default functionality to Ponzu's content/data types, how they interact with the API, and how to override or enhance their abilities using various interfaces. |
Package search is a wrapper around the blevesearch/bleve search indexing and query package, and provides interfaces to extend Ponzu items with rich, full-text search capability.
|
Package search is a wrapper around the blevesearch/bleve search indexing and query package, and provides interfaces to extend Ponzu items with rich, full-text search capability. |
Package tls provides the functionality to Ponzu systems to encrypt HTTP traffic through the ability to generate self-signed certificates for local development and fetch/update production certificates from Let's Encrypt.
|
Package tls provides the functionality to Ponzu systems to encrypt HTTP traffic through the ability to generate self-signed certificates for local development and fetch/update production certificates from Let's Encrypt. |
Click to show internal directories.
Click to hide internal directories.