// OnStart implements cmn.Service.
OnStart implements cmn.Service.
// OnStart implements cmn . Service .
func (sl *SignerListenerEndpoint) OnStart() error {
	sl.connectRequestCh = make(chan struct{})
	sl.connectionAvailableCh = make(chan net.Conn)
	sl.pingTimer = time.NewTicker(defaultPingPeriodMilliseconds * time.Millisecond)
	go sl.serviceLoop()
	go sl.pingLoop()
	sl.connectRequestCh <- struct{}{}
	return nil
}
func ( sl * SignerListenerEndpoint ) OnStart ( ) error { sl . connectRequestCh = make ( chan struct { } ) sl . connectionAvailableCh = make ( chan net . Conn ) sl . pingTimer = time . NewTicker ( defaultPingPeriodMilliseconds * time . Millisecond ) go sl . serviceLoop ( ) go sl . pingLoop ( ) sl . connectRequestCh <- struct { } { } return nil }
OnStart implements cmn.Service.
OnStart implements cmn . Service .