MCPcopy
hub / github.com/owasp-amass/amass / Start

Method Start

engine/api/server/server.go:67–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65}
66
67func (s *Server) Start() error {
68 s.log.Info("Server listening on", "addr", s.srv.Addr)
69 err := s.srv.ListenAndServe()
70
71 s.cancel()
72 close(s.ch)
73 return err
74}
75
76func (s *Server) Shutdown() error {
77 err := s.srv.Shutdown(s.ctx)

Callers 1

NewEngineFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected