Documentation ¶
Overview ¶
Package http implements http server for previewer.
Index ¶
Constants ¶
View Source
const ( ReqIDField = "request_id" HostField = "host" MethodField = "method" URLField = "url" BrowserField = "browser" RemoteField = "remote" QueryField = "query" CodeField = "response_code" RespTimeField = "response_time" HashField = "hash" )
Constants.
Variables ¶
This section is empty.
Functions ¶
func StartHTTPServer ¶
func StartHTTPServer(logger models.Loggerer, conf models.Config, preview preview.Preview, opts entities.ResizeOptions)
StartHTTPServer inits routing and starts web listener.
Types ¶
Click to show internal directories.
Click to hide internal directories.