Documentation ¶
Index ¶
- func GetRequestSubdomain(r *http.Request) string
- func GetSubdomainFromHost(r *http.Request) string
- type Handler
- func (h *Handler) Get(w http.ResponseWriter, r *http.Request)
- func (h *Handler) GetGlobalSetting(w http.ResponseWriter, r *http.Request)
- func (h *Handler) GetInstanceSetting(w http.ResponseWriter, r *http.Request)
- func (h *Handler) SaveGlobalSetting(w http.ResponseWriter, r *http.Request)
- func (h *Handler) SaveInstanceSetting(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Update(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRequestSubdomain ¶
GetRequestSubdomain extracts subdomain from referring URL.
func GetSubdomainFromHost ¶
GetSubdomainFromHost extracts the subdomain from the requesting URL.
Types ¶
type Handler ¶
Handler contains the runtime information such as logging and database.
func (*Handler) Get ¶
func (h *Handler) Get(w http.ResponseWriter, r *http.Request)
Get returns the requested organization.
func (*Handler) GetGlobalSetting ¶ added in v1.69.0
func (h *Handler) GetGlobalSetting(w http.ResponseWriter, r *http.Request)
GetGlobalSetting returns the requested organization level setting.
func (*Handler) GetInstanceSetting ¶ added in v1.69.0
func (h *Handler) GetInstanceSetting(w http.ResponseWriter, r *http.Request)
GetInstanceSetting returns the requested organization level setting.
func (*Handler) SaveGlobalSetting ¶ added in v1.69.0
func (h *Handler) SaveGlobalSetting(w http.ResponseWriter, r *http.Request)
SaveGlobalSetting saves org level setting.
func (*Handler) SaveInstanceSetting ¶ added in v1.69.0
func (h *Handler) SaveInstanceSetting(w http.ResponseWriter, r *http.Request)
SaveInstanceSetting saves org level setting.
Click to show internal directories.
Click to hide internal directories.