Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) StartServing ¶
type TLS ¶
type TLS interface { // Config provides the tls.Config object to be set on server.TLSConfig Config() (*tls.Config, error) // ListenAndServe encapsulates the decision, whether server.ListenAndServe() or server.ListenAndServeTLS() should // be invoked. ListenAndServe(*http.Server) error }
TLS abstracts the way REST interfaces TLS is configured.
func NewFileBasedTLS ¶
Click to show internal directories.
Click to hide internal directories.