Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Options)
func HttpsRedirect ¶
func WithPortRoll ¶
func WithServerConfig ¶
type Options ¶
type Options struct { Https bool HttpsRedirect bool HttpsRedirectAddress string HttpsCert string HttpsKey string HttpsDomain string PortRoll bool IdleTimeout time.Duration ReadTimeout time.Duration WriteTimeout time.Duration Zone string }
func (*Options) IsAutoHttpsCert ¶
type Server ¶
type Server struct { http.Server service.RunnableService // contains filtered or unexported fields }
func (*Server) GetProtocol ¶
Click to show internal directories.
Click to hide internal directories.