mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 11:28:59 +00:00
13 lines
198 B
Go
13 lines
198 B
Go
package discover
|
|
|
|
import (
|
|
"log"
|
|
"os"
|
|
"strings"
|
|
)
|
|
|
|
var (
|
|
dlog = log.New(os.Stderr, "discover: ", log.Lmicroseconds|log.Lshortfile)
|
|
debug = strings.Contains(os.Getenv("STTRACE"), "discover")
|
|
)
|