15 lines
405 B
Go
15 lines
405 B
Go
|
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.
|
||
|
type HTTPServer interface{}
|