2025-09-15 09:33:25 +05:00
|
|
|
package core
|
|
|
|
|
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
)
|
|
|
|
|
|
|
|
// ServiceNameHTTPServer is a name for HTTP server service.
|
|
|
|
const ServiceNameHTTPServer = "core/http_server"
|
|
|
|
|
|
|
|
// ErrHTTPServerIsInvalid appears when HTTP server service implementation is invalid.
|
|
|
|
var ErrHTTPServerIsInvalid = errors.New("HTTP server service implementation is invalid")
|
|
|
|
|
|
|
|
// HTTPServer is an interface for HTTP server service.
|
2025-09-15 09:34:23 +05:00
|
|
|
//
|
|
|
|
//nolint:iface
|
2025-09-15 09:33:25 +05:00
|
|
|
type HTTPServer interface{}
|