Documentation ¶
Overview ¶
Simple utility to start HTTP Server The server will start serving files from the current working directory If index.html doesn't exist, it will create a simple handler at / Call: StartHTTPServer()
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HTTPConfig ¶
type HTTPConfig struct { // Set env variable GCP_HOST. Default value is 0.0.0.0 Host string `default:"0.0.0.0"` // Set env variable GCP_PORT. Default value is 8080 Port string `default:"8080"` }
Config for HTTP Server
Click to show internal directories.
Click to hide internal directories.