Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is an HTTP server that controls the cook
func NewServer ¶
func NewServer(c qpid.CookController, a qpid.AlertSink, n qpid.NotificationSink, m qpid.MetricSink) *Server
NewServer returns an initialized Server
func (*Server) Index ¶
func (s *Server) Index(w h.ResponseWriter, r *h.Request)
Index serves the / route
func (*Server) ListenAndServe ¶
ListenAndServe starts an HTTP listener at address `addr`, blocking until it's stopped
Click to show internal directories.
Click to hide internal directories.