httpserver

package
v0.0.0-...-620b3f8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2020 License: MIT Imports: 14 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL