mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 03:05:07 +03:00 
			
		
		
		
	Merge branch 'develop' into neilalexander/refactor
This commit is contained in:
		
						commit
						dd66e8a9c9
					
				
					 4 changed files with 14 additions and 15 deletions
				
			
		| 
						 | 
				
			
			@ -4,7 +4,7 @@ import (
 | 
			
		|||
	"context"
 | 
			
		||||
	"crypto/ed25519"
 | 
			
		||||
	"fmt"
 | 
			
		||||
	"io/ioutil"
 | 
			
		||||
	"io"
 | 
			
		||||
	"net"
 | 
			
		||||
	"net/url"
 | 
			
		||||
	"os"
 | 
			
		||||
| 
						 | 
				
			
			@ -67,7 +67,7 @@ func New(secret ed25519.PrivateKey, opts ...SetupOption) (*Core, error) {
 | 
			
		|||
		c._applyOption(opt)
 | 
			
		||||
	}
 | 
			
		||||
	if c.log == nil {
 | 
			
		||||
		c.log = log.New(ioutil.Discard, "", 0)
 | 
			
		||||
		c.log = log.New(io.Discard, "", 0)
 | 
			
		||||
	}
 | 
			
		||||
	c.proto.init(c)
 | 
			
		||||
	if err := c.links.init(c); err != nil {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue