From bf761f7a63e85b5ff176435ccf3780467502cdb9 Mon Sep 17 00:00:00 2001 From: crusader Date: Fri, 23 Mar 2018 17:10:04 +0900 Subject: [PATCH] ing --- service/ProbeService.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/service/ProbeService.go b/service/ProbeService.go index 831d4e8..d873da3 100644 --- a/service/ProbeService.go +++ b/service/ProbeService.go @@ -2,7 +2,6 @@ package service import ( "reflect" - "sync" cda "git.loafle.net/commons_go/di/annotation" cdr "git.loafle.net/commons_go/di/registry" @@ -17,12 +16,8 @@ type ProbeService struct { cda.TypeAnnotation `annotation:"@overFlow:Service()"` RPCServlet cr.Servlet - sendMtx sync.RWMutex } func (ps *ProbeService) Send(method string, params ...interface{}) error { - ps.sendMtx.RLock() - defer ps.sendMtx.RUnlock() - return ps.RPCServlet.Send(method, params...) }