package publock import ( "gitlink.org.cn/cloudream/jcs-pub/client/internal/publock/types" ) type Mutex struct { svc *Service lockReq types.LockRequest lockReqID types.RequestID } func (m *Mutex) Unlock() { m.svc.release(m.lockReqID, m.lockReq) }