webserver/webpages.go
Function indexHandler
has 63 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func indexHandler(res http.ResponseWriter, req *http.Request) {
s := "----------------------------------------------------------------"
log.Info("WEBSERVER: " + s)
s = "HTTP SERVER - DISPLAY MAIN WEBPAGE"
Function validateHandler
has 53 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func validateHandler(res http.ResponseWriter, req *http.Request) {
s := "----------------------------------------------------------------"
log.Info("WEBSERVER: " + s)
s = "HTTP SERVER - DISPLAY VALIDATE"
Function sendHandler
has 53 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func sendHandler(res http.ResponseWriter, req *http.Request) {
s := "----------------------------------------------------------------"
log.Info("WEBSERVER: " + s)
s = "HTTP SERVER - DISPLAY API COMMANDS"