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(serverConfig *model.HTTPServerConfig, service *handlers.Service, 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.