Versions in this module Expand all Collapse all v1 v1.19.1 Oct 25, 2022 Changes in this version + type Action struct + Handler restful.RouteFunction + Params []*restful.Parameter + Path string + Verb string + func NewAction(verb, path string, params []*restful.Parameter, handler restful.RouteFunction) *Action + type HttpServer struct + func NewHttpServer(port uint, addr, sock string) *HttpServer + func (s *HttpServer) GetRouter() *mux.Router + func (s *HttpServer) GetWebContainer() *restful.Container + func (s *HttpServer) ListenAndServe() error + func (s *HttpServer) ListenAndServeMux(verifyClientTLS bool) error + func (s *HttpServer) NewWebService(rootPath string, filter restful.FilterFunction) *restful.WebService + func (s *HttpServer) RegisterActions(ws *restful.WebService, actions []*Action) + func (s *HttpServer) RegisterWebServer(rootPath string, filter restful.FilterFunction, actions []*Action) error + func (s *HttpServer) Serve(l net.Listener) error + func (s *HttpServer) SetInsecureServer(insecureAddr string, insecurePort uint) + func (s *HttpServer) SetSsl(cafile, certfile, keyfile, certPasswd string)