agent: document the scada http creation func

This commit is contained in:
Ryan Uber 2015-08-25 17:19:11 -07:00
parent 2e6ccded2c
commit 87c1e4fcd3
1 changed files with 2 additions and 0 deletions

View File

@ -145,6 +145,8 @@ func NewHTTPServers(agent *Agent, config *Config, logOutput io.Writer) ([]*HTTPS
return servers, nil
}
// newScadaHttp creates a new HTTP server wrapping the SCADA
// listener such that HTTP calls can be sent from the brokers.
func newScadaHttp(agent *Agent, list net.Listener) *HTTPServer {
// Create the mux
mux := http.NewServeMux()