Documentation ¶
Overview ¶
Package webhost handles the logic of the webhosting panel
Package webhost handles the logic of the webhosting panel
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { Directory string Public *public.Controller ServerLogger *file.Handler }
func (*Controller) ServeHTTP ¶
func (con *Controller) ServeHTTP(res http.ResponseWriter, req *http.Request)
ServeHTTP function routes all requests for the private webhost server. It is used in the main function inside of the http.ListenAndServe() function for the private webhost host.
Click to show internal directories.
Click to hide internal directories.