2 * Copyright 2020 Huawei Technologies Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
25 GcukCertFile = os.Getenv("GCUK_CERT_FILE")
26 GcukKeyFile = os.Getenv("GCUK_KEY_FILE")
27 GcukServiceAddr = os.Getenv("GCUK_SERVICE_ADDR")
31 logger := log.New(os.Stdout, "broker ", log.LstdFlags|log.Lshortfile)
33 handler := &handlers.Handlers{}
34 handler.Initialize(logger)
35 //handler.Run("127.0.0.1:8081")
36 handler.Run("0.0.0.0:8081")