Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyServerFunc ¶
ApplyServerFunc applies configurations to a http.Server instance.
func ApplyServerWith ¶
func ApplyServerWith( configures ...ServerConfig, ) ApplyServerFunc
ApplyServerWith creates an ApplyServerFunc with the given ServerConfig.
type ConfigureServer ¶
ConfigureServer configures a http.Server instance.
type CreateServerFunc ¶
CreateServerFunc creates a http.Server instance.
func CreateServerWith ¶
func CreateServerWith( configures ...ServerConfig, ) CreateServerFunc
CreateServerWith creates a CreateServerFunc with the given ServerConfig.
type ListenAndServeFunc ¶
ListenAndServeFunc listens on the TCP network address addr and then calls Serve to handle requests on incoming connections.
func ListenAndServeFuncWith ¶
func ListenAndServeFuncWith( configures ...ServerConfig, ) ListenAndServeFunc
ListenAndServeFunc creates a ListenAndServeFunc with the given ServerConfig.
type ServerConfig ¶
type ServerConfig interface {
// contains filtered or unexported methods
}
ServerConfig configures a http.Server instance.
Click to show internal directories.
Click to hide internal directories.