Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Options)
Option is a function that sets optional parameters for the Server.
func WithTLSConfig ¶
WithTLSConfig sets a TLS configuration for the HTTP server and creates a TLS listener.
type Options ¶
type Options struct {
// contains filtered or unexported fields
}
Options struct holds parameters that can be configure using functions with prefix With.
type Server ¶
Server wraps http.Server to provide methods for resenje.org/web/servers.Server interface.
Click to show internal directories.
Click to hide internal directories.