Add Android support, add addStaticPeers

This commit is contained in:
Neil Alexander
2019-01-10 10:44:44 +00:00
parent 38209ee9b9
commit a371e34a18
2 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
// +build android
package yggdrasil
import "log"
type MobileLogger struct{}
func (nsl MobileLogger) Write(p []byte) (n int, err error) {
log.Println(string(p))
return len(p), nil
}