ing
This commit is contained in:
parent
990219ff5f
commit
f74046c08a
|
@ -26,6 +26,13 @@ type ProbeService struct {
|
|||
}
|
||||
|
||||
func (s *ProbeService) InitService() error {
|
||||
if nil == s.RPCWriteChan {
|
||||
return fmt.Errorf("RPCWriteChan is not valid")
|
||||
}
|
||||
if nil == s.ClientCodec {
|
||||
return fmt.Errorf("ClientCodec is not valid")
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user