Documentation ¶
Overview ¶
Package setting manages both global and user level settings
Package setting manages both global and user level settings
Index ¶
- type Handler
- func (h *Handler) AuthConfig(w http.ResponseWriter, r *http.Request)
- func (h *Handler) License(w http.ResponseWriter, r *http.Request)
- func (h *Handler) SMTP(w http.ResponseWriter, r *http.Request)
- func (h *Handler) SetAuthConfig(w http.ResponseWriter, r *http.Request)
- func (h *Handler) SetLicense(w http.ResponseWriter, r *http.Request)
- func (h *Handler) SetSMTP(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
Handler contains the runtime information such as logging and database.
func (*Handler) AuthConfig ¶
func (h *Handler) AuthConfig(w http.ResponseWriter, r *http.Request)
AuthConfig returns installation-wide auth configuration
func (*Handler) License ¶
func (h *Handler) License(w http.ResponseWriter, r *http.Request)
License returns product license
func (*Handler) SMTP ¶
func (h *Handler) SMTP(w http.ResponseWriter, r *http.Request)
SMTP returns installation-wide SMTP settings
func (*Handler) SetAuthConfig ¶
func (h *Handler) SetAuthConfig(w http.ResponseWriter, r *http.Request)
SetAuthConfig persists installation-wide authentication configuration
func (*Handler) SetLicense ¶
func (h *Handler) SetLicense(w http.ResponseWriter, r *http.Request)
SetLicense persists product license
Click to show internal directories.
Click to hide internal directories.