mirror of
				https://github.com/yggdrasil-network/water.git
				synced 2025-10-31 01:05:10 +03:00 
			
		
		
		
	 70591d2499
			
		
	
	
		70591d2499
		
			
		
	
	
	
	
		
			
			The interface `Config` object is now passed directly into each creation function in order to more easily use additional options. In addition, the linux and darwin parameters were split to better capture different options for each platform.
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			390 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			390 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| 
 | |
| package water
 | |
| 
 | |
| // PlatformSpecificParams defines parameters in Config that are specific to
 | |
| // macOS. A zero-value of such type is valid, yielding an interface
 | |
| // with OS defined name.
 | |
| // Currently it is not possible to set the interface name in macOS.
 | |
| type PlatformSpecificParams struct {
 | |
| }
 | |
| 
 | |
| func defaultPlatformSpecificParams() PlatformSpecificParams {
 | |
| 	return PlatformSpecificParams{}
 | |
| }
 |