mirror of
				https://github.com/smallnest/rpcx.git
				synced 2025-10-31 19:32:45 +08:00 
			
		
		
		
	fix inprocess registry
This commit is contained in:
		| @@ -153,3 +153,10 @@ func (client *inprocessClient) Register(name string, rcvr interface{}, metadata | |||||||
| 	client.Unlock() | 	client.Unlock() | ||||||
| 	return | 	return | ||||||
| } | } | ||||||
|  |  | ||||||
|  | func (client *inprocessClient) Unregister(name string) error { | ||||||
|  | 	client.Lock() | ||||||
|  | 	delete(client.services, name) | ||||||
|  | 	client.Unlock() | ||||||
|  | 	return nil | ||||||
|  | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 smallnest
					smallnest