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 string) *HttpServer
port should be a string that looks like ":8083" or whatever port to serve on.
func (*HttpServer) Close ¶
func (s *HttpServer) Close()
func (*HttpServer) ListenAndServe ¶
func (s *HttpServer) ListenAndServe()
Click to show internal directories.
Click to hide internal directories.