Jiri Simsa | d7616c9 | 2015-03-24 23:44:30 -0700 | [diff] [blame] | 1 | // Copyright 2015 The Vanadium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
Cosmos Nicolaou | 43b9535 | 2014-10-14 11:09:52 -0700 | [diff] [blame] | 5 | // +build !linux |
| 6 | |
| 7 | package internal |
| 8 | |
| 9 | import ( |
| 10 | "net" |
| 11 | |
Jiri Simsa | 337af23 | 2015-02-27 14:36:46 -0800 | [diff] [blame] | 12 | "v.io/x/lib/vlog" |
Cosmos Nicolaou | 43b9535 | 2014-10-14 11:09:52 -0700 | [diff] [blame] | 13 | ) |
| 14 | |
| 15 | // GCEPublicAddress returns the public IP address of the GCE instance |
| 16 | // it is run from, or nil if run from anywhere else. The returned address |
| 17 | // is the public address of a 1:1 NAT tunnel to this host. |
| 18 | func GCEPublicAddress(vlog.Logger) *net.IPAddr { |
| 19 | return nil |
| 20 | } |