Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPToHTTPSConfig ¶
type HTTPToHTTPSConfig struct {
// contains filtered or unexported fields
}
func NewHTTPtoHTTPS ¶
func NewHTTPtoHTTPS() *HTTPToHTTPSConfig
NewHTTPtoHTTPS configures the server to redirect HTTP calls to HTTPS.
func (*HTTPToHTTPSConfig) Apply ¶
func (config *HTTPToHTTPSConfig) Apply(app *govalin.App)
func (*HTTPToHTTPSConfig) Name ¶
func (config *HTTPToHTTPSConfig) Name() string
func (*HTTPToHTTPSConfig) OnInit ¶
func (config *HTTPToHTTPSConfig) OnInit(_ *govalin.Config)
func (*HTTPToHTTPSConfig) RedirectLocalHost ¶
func (config *HTTPToHTTPSConfig) RedirectLocalHost(shouldRedirect bool) *HTTPToHTTPSConfig
Click to show internal directories.
Click to hide internal directories.