- Bump master into current branch

- Add badge into README
This commit is contained in:
Nicolas JUHEL
2020-07-14 14:15:44 +02:00
parent 55affe9e7c
commit e46b5a4ba3
34 changed files with 142 additions and 58 deletions

View File

@@ -26,7 +26,7 @@
package httpserver
import errors "github.com/nabbar/golib/errors"
import "github.com/nabbar/golib/errors"
const (
EMPTY_PARAMS errors.CodeError = iota + errors.MIN_PKG_Httpserver

View File

@@ -42,7 +42,7 @@ import (
"golang.org/x/net/http2"
njs_certif "github.com/nabbar/golib/certificates"
certif "github.com/nabbar/golib/certificates"
. "github.com/nabbar/golib/logger"
)
@@ -199,7 +199,7 @@ func (srv *modelServer) Listen() {
FatalLevel.Logf("Configuring Server '%s' Error: %v", srv.host, err)
go func() {
if srv.ssl == nil || !njs_certif.CheckCertificates() {
if srv.ssl == nil || !certif.CheckCertificates() {
InfoLevel.Logf("Server '%s' is starting with bindable: %s", srv.host, srv.GetBindable())
if err := srv.srv.ListenAndServe(); err != nil {
FatalLevel.Logf("Listen Server '%s' Error: %v", srv.host, err)