func New(configuration *Arguments) *DevServer {
	host := configuration.Host
	port := configuration.Port

	mux := http.NewServeMux()

	server := &DevServer{
		HTTPServer: &http.Server{
			Addr:    fmt.Sprintf("%v:%v", host, port),
			Handler: mux,
		},
		configuration: configuration,
	}

	return server
}
// New - creates new server instance
creates new server instance
// New - creates new server instance
func New(configuration *Arguments) *DevServer {
	host := configuration.Host
	port := configuration.Port
	mux := http.NewServeMux()
	server := &DevServer{
		HTTPServer: &http.Server{
			Addr:    fmt.Sprintf("%v:%v", host, port),
			Handler: mux,
		},
		configuration: configuration,
	}
	return server
}
func New ( configuration * Arguments ) * DevServer { host := configuration . Host port := configuration . Port mux := http . NewServeMux ( ) server := & DevServer { HTTPServer : & http . Server { Addr : fmt . Sprintf ( " " , host , port ) , Handler : mux , } , configuration : configuration , } return server }
creates new server instance
creates new server instance