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(homeDir, port string) *HttpServer
homeDir is the directory that is the root of the admin site. port should be a string that looks like ":8080" or whatever port to serve on.
func (*HttpServer) Close ¶
func (self *HttpServer) Close()
func (*HttpServer) ListenAndServe ¶
func (self *HttpServer) ListenAndServe()
Click to show internal directories.
Click to hide internal directories.