From 4ff7c2059695b73aadc0ddb510dad27a5a83e780 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期三, 25 九月 2019 14:08:35 +0800
Subject: [PATCH] update libcffmpeg.so

---
 extend/config/config.go |   20 --------------------
 1 files changed, 0 insertions(+), 20 deletions(-)

diff --git a/extend/config/config.go b/extend/config/config.go
index df3e1d6..5e9d97e 100644
--- a/extend/config/config.go
+++ b/extend/config/config.go
@@ -26,24 +26,8 @@
 
 var Server = &server{}
 
-type weedfs struct {
-	Ip string `mapstructure: "ip"`
-	UploadPort int `mapstructure: "uploadport"`
-	VisitPort int `mapstructure: "visitport"`
-}
-
-var WeedFs = &weedfs{}
-
-type database struct {
-	Drive    string `mapstructure:"drive"`
-	Name     string `mapstructure:"name"`
-	FilePath string `mapstructure:"filepath"`
-}
-
 // wp add es 绱㈠紩 浠ュ強 IP port
 type esinfo struct {
-	Masterip string      `mapstructure:"masterip"`
-	Httpport string      `mapstructure:"httpport"`
 	Shards string		 `mapstructure:"shards"`
 	EsIndex  esindexlist `mapstructure:"index"`
 }
@@ -67,8 +51,6 @@
 var SoPath = &sopath{}
 
 var EsInfo = &esinfo{}
-
-var DBconf = &database{}
 
 type facedetect struct {
 	Ip string `mapstructure:"Ip"`
@@ -104,8 +86,6 @@
 	}
 	viper.UnmarshalKey("es", EsInfo)
 	viper.UnmarshalKey("server", Server)
-	viper.UnmarshalKey("database", DBconf)
-	viper.UnmarshalKey("weedfs", WeedFs)
 	viper.UnmarshalKey("sopath",SoPath)
 	viper.UnmarshalKey("facedetect", FaceDetectSet)
 	viper.UnmarshalKey("dbpersoncompare",DbPersonCompInfo)

--
Gitblit v1.8.0