Refactoring, Bugfix & Updates
+ Refactored all imports + Fixed a bug for the logging regarding removing \n \t \r + Updated to current MGO release + Changed the name of ICCC
This commit is contained in:
1 parent
b50066ef5d
commit
f33f7b5c29
91 files changed
+496
-316
No files matched your search
@@ -1,11 +1,13 @@
|
||||
package WebContent
|
||||
|
||||
import "errors"
|
||||
import "archive/zip"
|
||||
import "io/ioutil"
|
||||
import "bytes"
|
||||
import "github.com/SommerEngineering/Ocean/Log"
|
||||
import LM "github.com/SommerEngineering/Ocean/Log/Meta"
|
||||
import (
|
||||
"archive/zip"
|
||||
"bytes"
|
||||
"errors"
|
||||
"github.com/SommerEngineering/Ocean/Log"
|
||||
LM "github.com/SommerEngineering/Ocean/Log/Meta"
|
||||
"io/ioutil"
|
||||
)
|
||||
|
||||
func GetContent(path string) (content []byte, err error) {
|
||||
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
package WebContent
|
||||
|
||||
import "net/http"
|
||||
import "strings"
|
||||
import "github.com/SommerEngineering/Ocean/Shutdown"
|
||||
import "github.com/SommerEngineering/Ocean/Log"
|
||||
import LM "github.com/SommerEngineering/Ocean/Log/Meta"
|
||||
import (
|
||||
"github.com/SommerEngineering/Ocean/Log"
|
||||
LM "github.com/SommerEngineering/Ocean/Log/Meta"
|
||||
"github.com/SommerEngineering/Ocean/Shutdown"
|
||||
"net/http"
|
||||
"strings"
|
||||
)
|
||||
|
||||
func HandlerDeliverFramework(response http.ResponseWriter, request *http.Request) {
|
||||
if Shutdown.IsDown() {
|
||||
|
||||
+7
-5
@@ -1,10 +1,12 @@
|
||||
package WebContent
|
||||
|
||||
import "io/ioutil"
|
||||
import "github.com/SommerEngineering/Ocean/CustomerDB"
|
||||
import "github.com/SommerEngineering/Ocean/ConfigurationDB"
|
||||
import "github.com/SommerEngineering/Ocean/Log"
|
||||
import LM "github.com/SommerEngineering/Ocean/Log/Meta"
|
||||
import (
|
||||
"github.com/SommerEngineering/Ocean/ConfigurationDB"
|
||||
"github.com/SommerEngineering/Ocean/CustomerDB"
|
||||
"github.com/SommerEngineering/Ocean/Log"
|
||||
LM "github.com/SommerEngineering/Ocean/Log/Meta"
|
||||
"io/ioutil"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
||||
|
||||
+9
-7
@@ -1,12 +1,14 @@
|
||||
package WebContent
|
||||
|
||||
import "net/http"
|
||||
import "bytes"
|
||||
import "errors"
|
||||
import "fmt"
|
||||
import "github.com/SommerEngineering/Ocean/MimeTypes"
|
||||
import "github.com/SommerEngineering/Ocean/Log"
|
||||
import LM "github.com/SommerEngineering/Ocean/Log/Meta"
|
||||
import (
|
||||
"bytes"
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/SommerEngineering/Ocean/Log"
|
||||
LM "github.com/SommerEngineering/Ocean/Log/Meta"
|
||||
"github.com/SommerEngineering/Ocean/MimeTypes"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
func SendContent(response http.ResponseWriter, path string) (err error) {
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
package WebContent
|
||||
|
||||
import LM "github.com/SommerEngineering/Ocean/Log/Meta"
|
||||
import (
|
||||
LM "github.com/SommerEngineering/Ocean/Log/Meta"
|
||||
)
|
||||
|
||||
var (
|
||||
isInit = false
|
||||
|
||||
Reference in new issue
Block a user