mirror of
				https://github.com/openimsdk/open-im-server.git
				synced 2025-11-04 19:32:17 +08:00 
			
		
		
		
	add etcd
This commit is contained in:
		
							parent
							
								
									be188948b9
								
							
						
					
					
						commit
						3a706cb061
					
				@ -76,7 +76,7 @@ func (r *SvcDiscoveryRegistryImpl) CloseConn(conn *grpc.ClientConn) {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (r *SvcDiscoveryRegistryImpl) Register(serviceName, host string, port int, opts ...grpc.DialOption) error {
 | 
			
		||||
	r.serviceKey = fmt.Sprintf("%s/%s:%d", serviceName, host, port)
 | 
			
		||||
	r.serviceKey = fmt.Sprintf("%s/%s/%d", serviceName, host, port)
 | 
			
		||||
	em, err := endpoints.NewManager(r.client, serviceName)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return err
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user