Documentation ¶
Index ¶
- type RedirectToHTTPSHandlerType
- func (hdlr *RedirectToHTTPSHandlerType) InitializeWithConfigData(next http.Handler, gCfg *cfg.ServerGlobalConfigType, serverName string, ...) (err error)
- func (hdlr *RedirectToHTTPSHandlerType) PreValidate(gCfg *cfg.ServerGlobalConfigType, cfgData map[string]interface{}, ...) (err error)
- func (hdlr *RedirectToHTTPSHandlerType) ServeHTTP(www http.ResponseWriter, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedirectToHTTPSHandlerType ¶
type RedirectToHTTPSHandlerType struct { Next http.Handler // To string // replacement string, with ${1} pattern replacements in it }
func NewRedirectToHTTPSServer ¶
func NewRedirectToHTTPSServer(n http.Handler, t string) *RedirectToHTTPSHandlerType
func (*RedirectToHTTPSHandlerType) InitializeWithConfigData ¶
func (hdlr *RedirectToHTTPSHandlerType) InitializeWithConfigData(next http.Handler, gCfg *cfg.ServerGlobalConfigType, serverName string, pNo, callNo int) (err error)
func (*RedirectToHTTPSHandlerType) PreValidate ¶
func (hdlr *RedirectToHTTPSHandlerType) PreValidate(gCfg *cfg.ServerGlobalConfigType, cfgData map[string]interface{}, serverName string, pNo, callNo int) (err error)
func (*RedirectToHTTPSHandlerType) ServeHTTP ¶
func (hdlr *RedirectToHTTPSHandlerType) ServeHTTP(www http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.