ing
This commit is contained in:
parent
f153c79d2c
commit
bcfd74812b
|
@ -41,9 +41,6 @@ type server struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *server) Start() error {
|
func (s *server) Start() error {
|
||||||
if nil == s.ctx {
|
|
||||||
logging.Logger().Panic("Server: server context must be specified.")
|
|
||||||
}
|
|
||||||
if nil == s.sh {
|
if nil == s.sh {
|
||||||
logging.Logger().Panic("Server: server handler must be specified.")
|
logging.Logger().Panic("Server: server handler must be specified.")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user