Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Start ¶
StartWebServerbserver starts the web server at the specified host and port and listens for incoming requests.
Example:
StartWebServer(Options{
Host: "localhost",
Port: "8080",
Handler: func(w http.ResponseWriter, r *http.Request) {},
Mode: "production",
})
Parameters: - none
Returns: - none
Types ¶
Click to show internal directories.
Click to hide internal directories.