X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=lib%2Fagent%2Fwebserver.go;h=e8ad033af146c84ff23e2238239a51db2e5e17ee;hb=a2cc38902ff7528870822110c4f04329a3918564;hp=c9f3acdb169930252543664939f1ebbb43e9d007;hpb=7c7d90a781082c6bd22d12a5e2451ca61a5198af;p=src%2Fxds%2Fxds-agent.git diff --git a/lib/agent/webserver.go b/lib/agent/webserver.go index c9f3acd..e8ad033 100644 --- a/lib/agent/webserver.go +++ b/lib/agent/webserver.go @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2017-2018 "IoT.bzh" + * Author Sebastien Douheret + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package agent import ( @@ -7,11 +24,12 @@ import ( "os" "path" + socketio "github.com/googollee/go-socket.io" + + "gerrit.automotivelinux.org/gerrit/src/xds/xds-agent/lib/xaapiv1" "github.com/Sirupsen/logrus" "github.com/gin-contrib/static" "github.com/gin-gonic/gin" - "github.com/googollee/go-socket.io" - "github.com/iotbzh/xds-agent/lib/xaapiv1" ) // WebServer .