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
}
func NewHTTPServer ¶
func NewHTTPServer(port int, rootPath, websiteName string) *HTTPServer
func (*HTTPServer) AddFileRoute ¶
func (s *HTTPServer) AddFileRoute(routePath, localFilePath string)
func (*HTTPServer) DeleteFileRoute ¶
func (s *HTTPServer) DeleteFileRoute(routePath string)
func (*HTTPServer) Start ¶
func (s *HTTPServer) Start()
func (*HTTPServer) Stop ¶
func (s *HTTPServer) Stop()
Click to show internal directories.
Click to hide internal directories.