Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPServer ¶
type HTTPServer struct {
// contains filtered or unexported fields
}
HTTPServer the server used to accept requests from network.
func NewHTTPServer ¶
func NewHTTPServer(cluster *cluster.Cluster) *HTTPServer
func (*HTTPServer) ServeHTTP ¶
func (s *HTTPServer) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP is the entry point of the les cdn, splitting the request across the supported submodules.
func (*HTTPServer) Start ¶
func (s *HTTPServer) Start(host string, port int)
Click to show internal directories.
Click to hide internal directories.