Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControlMessage ¶
type ControlMessage int
const ( ControlMessageQuit ControlMessage = iota ControlMessageStart ControlMessage = iota ControlMessageReady ControlMessage = iota ControlMessageDone ControlMessage = iota )
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func New ¶
*****************************************************************************
* * Create a new HTTPserver instance * *****************************************************************************
func (*Server) ServeHTTP ¶
func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)
*****************************************************************************
* * Pass requests to the handler * *****************************************************************************
func (*Server) Start ¶
func (s *Server) Start(controlChan chan ControlMessage) error
*****************************************************************************
* * Start the HTTP server * *****************************************************************************
Click to show internal directories.
Click to hide internal directories.