Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HTTPServer ¶
type HTTPServer struct {
// contains filtered or unexported fields
}
HTTPServer is the backup service HTTP server wrapper.
func NewHTTPServer ¶
func NewHTTPServer( config *model.Config, scheduler quartz.Scheduler, backends service.BackendsHolder, handlerHolder service.BackupHandlerHolder, configurationManager service.ConfigurationManager, clientManger service.ClientManager, logger *slog.Logger, ) *HTTPServer
NewHTTPServer returns a new instance of HTTPServer.
func (*HTTPServer) Shutdown ¶
func (s *HTTPServer) Shutdown() error
Shutdown shutdowns the HTTP server.
Click to show internal directories.
Click to hide internal directories.