Skip to content

Commit

Permalink
added ErrValidate
Browse files Browse the repository at this point in the history
  • Loading branch information
exelban committed Apr 16, 2024
1 parent f274061 commit 1dab519
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions response.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ var (
ErrUnmarshal = errors.New("UNMARSHAL_ERROR")
ErrMissingField = errors.New("MISSING_FIELD")
ErrNotFound = errors.New("NOT_FOUND")
ErrValidate = errors.New("VALIDATION_ERROR")
)

// Just to confirm Error interface
Expand Down
1 change: 0 additions & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ func (s *Server) http(address string, port int, router http.Handler) *http.Serve
func (s *Server) https(address string, port int, router http.Handler) *http.Server {
server := s.http(address, port, router)
server.TLSConfig = &tls.Config{
PreferServerCipherSuites: true,
CipherSuites: []uint16{
tls.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,
tls.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,
Expand Down

0 comments on commit 1dab519

Please sign in to comment.