package
    
    
      
        
      
    
   
    
      
  
    
      
  
    
      Version: 
        v2.2.0-rc5
    
    
      Opens a new window with list of versions in this module.
    
    
    
  
      
  
    Published: May 22, 2025
  
      
  
    License: Apache-2.0
      
    
  
  
    Opens a new window with license information.
  
      
        
  
    
      Imports: 0
    
  
  
    Opens a new window with list of imports.
  
        
  
    
       Imported by: 0
    
  
  
    Opens a new window with list of known importers.
  
      
    
   
  
  
    
   
    
      
    
    
    
  
    
      
      
        
          
  
    
      
      Documentation
      ¶
    
    
  
    
  
    
      
        
 
  
  
  
  
  
  
  
      
  
  
    
    
    
  Node is the root struct to embed the network identifier
    
  
  
    
    
    
  NewNode creates an instance of Peer
  
   
    
  
  
    
    
    
  NewTCPNode creates an instance of Peer with tcp transportation
  
   
    
  
  
    
    
    
  Network returns the transportation layer type (tcp by default)
  
   
    
  
  
    
    
    
  String returns the network address (127.0.0.1:0 by default)
  
   
  
       
      
     
   
        
      
      
        
  
    
      
      Source Files
      ¶
    
   
      
      
     
   
   Click to show internal directories. 
   Click to hide internal directories.