This commit is contained in:
crusader 2017-11-28 20:03:25 +09:00
parent f153c79d2c
commit bcfd74812b

View File

@ -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.")
} }