Rejiggle lib/relaysrv/* -> lib/relay/*

This commit is contained in:
Jakob Borg
2015-09-22 19:37:03 +02:00
parent 633e888ba7
commit f177924629
18 changed files with 0 additions and 1208 deletions

15
lib/relay/client/debug.go Normal file
View File

@@ -0,0 +1,15 @@
// Copyright (C) 2015 Audrius Butkevicius and Contributors (see the CONTRIBUTORS file).
package client
import (
"os"
"strings"
"github.com/calmh/logger"
)
var (
debug = strings.Contains(os.Getenv("STTRACE"), "relay") || os.Getenv("STTRACE") == "all"
l = logger.DefaultLogger
)