TUN-3467: Serialize cf-cloudflared-response-meta during package initialization using jsoniter

This commit is contained in:
cthuang
2020-10-16 11:13:48 +01:00
parent 9ac40dcf04
commit 6886e5f90a
148 changed files with 11896 additions and 2555 deletions

13
vendor/github.com/modern-go/concurrent/log.go generated vendored Normal file
View File

@@ -0,0 +1,13 @@
package concurrent
import (
"os"
"log"
"io/ioutil"
)
// ErrorLogger is used to print out error, can be set to writer other than stderr
var ErrorLogger = log.New(os.Stderr, "", 0)
// InfoLogger is used to print informational message, default to off
var InfoLogger = log.New(ioutil.Discard, "", 0)