[flashproxy/master] getenv function.

3 Feb
2013
3 Feb
'13
3:40 a.m.
commit c38bb489b2b4cf1b055363af27a8e2609ba40076 Author: David Fifield <david@bamsoftware.com> Date: Mon Jan 28 22:09:26 2013 -0800 getenv function. --- websocket-transport/pt.go | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/websocket-transport/pt.go b/websocket-transport/pt.go index cb349e0..15848d1 100644 --- a/websocket-transport/pt.go +++ b/websocket-transport/pt.go @@ -32,6 +32,10 @@ import ( "strings" ) +func getenv(key string) string { + return os.Getenv(key) +} + // Abort with an ENV-ERROR if the environment variable isn't set. func getenvRequired(key string) string { value := os.Getenv(key)
4523
Age (days ago)
4523
Last active (days ago)
0 comments
1 participants
participants (1)
-
dcf@torproject.org