forked from External/ergo
Move all errors into errors.go
This commit is contained in:
parent
3ef4c5f799
commit
2419f69879
17 changed files with 100 additions and 100 deletions
|
|
@ -9,7 +9,6 @@ import (
|
|||
"crypto/sha256"
|
||||
"crypto/tls"
|
||||
"encoding/hex"
|
||||
"errors"
|
||||
"io"
|
||||
"net"
|
||||
"strings"
|
||||
|
|
@ -18,8 +17,6 @@ import (
|
|||
)
|
||||
|
||||
var (
|
||||
errNotTLS = errors.New("Not a TLS connection")
|
||||
errNoPeerCerts = errors.New("Client did not provide a certificate")
|
||||
handshakeTimeout, _ = time.ParseDuration("5s")
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue