mirror of
https://github.com/thegeeklab/wp-plugin-go.git
synced 2024-11-21 14:10:39 +00:00
Format code
This commit is contained in:
parent
c5ec06ee53
commit
1304e6261a
@ -48,7 +48,7 @@ func ExitMessage(message interface{}) ExitError {
|
||||
func ExitMessagef(format string, a ...interface{}) ExitError {
|
||||
return ExitError{
|
||||
message: fmt.Errorf(format, a...),
|
||||
code: 1,
|
||||
code: 1,
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -84,13 +84,13 @@ func HTTP(ctx context.Context) context.Context {
|
||||
|
||||
TLSHandshakeDone: func(cs tls.ConnectionState, err error) {
|
||||
logrus.WithFields(logrus.Fields{
|
||||
"version": cs.Version,
|
||||
"handshake-complete": cs.HandshakeComplete,
|
||||
"did-resume": cs.DidResume,
|
||||
"cipher-suite": cs.CipherSuite,
|
||||
"negotiated-protocol": cs.NegotiatedProtocol,
|
||||
"server-name": cs.ServerName,
|
||||
"error": err,
|
||||
"version": cs.Version,
|
||||
"handshake-complete": cs.HandshakeComplete,
|
||||
"did-resume": cs.DidResume,
|
||||
"cipher-suite": cs.CipherSuite,
|
||||
"negotiated-protocol": cs.NegotiatedProtocol,
|
||||
"server-name": cs.ServerName,
|
||||
"error": err,
|
||||
}).Trace("ClientTrace.TLSHandshakeDone")
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user