1// Copyright (c) 2013-2014 The btcsuite developers 2// Use of this source code is governed by an ISC 3// license that can be found in the LICENSE file. 4 5// +build appengine 6 7package btcutil 8 9import ( 10 "net" 11) 12 13// interfaceAddrs returns a list of the system's network interface addresses. 14// It is wrapped here so that we can substitute it for a no-op function that 15// returns an empty slice of net.Addr when building for systems that do not 16// allow access to net.InterfaceAddrs(). 17func interfaceAddrs() ([]net.Addr, error) { 18 return []net.Addr{}, nil 19} 20