Documentation ¶
Overview ¶
Package server provides http server related helpers
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListenAndServe ¶
ListenAndServe starts http or https server based on parameters.
It defaults to https server (http.ListenAndServeTLS) but if certFile and keyFile is both empty string it starts http server http.ListenAndServe.
Returns whatever error http.ListenAndServer* returns
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.