blob: 63db7e3962a033dd8cf01d182a2cabb68ce72025 [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build !linux
package internal
import (
"net"
"v.io/x/lib/vlog"
)
// GCEPublicAddress returns the public IP address of the GCE instance
// it is run from, or nil if run from anywhere else. The returned address
// is the public address of a 1:1 NAT tunnel to this host.
func GCEPublicAddress(vlog.Logger) *net.IPAddr {
return nil
}