接入萤石摄像头后端

This commit is contained in:
XM-GO
2023-09-04 17:48:37 +08:00
parent 780d1eafbf
commit d41644d771
15 changed files with 813 additions and 3 deletions

View File

@@ -45,6 +45,7 @@ type Config struct {
Mqtt *Mqtt `yaml:"mqtt"`
Casbin *Casbin `yaml:"casbin"`
Gen *Gen `yaml:"gen"`
Ys *Ys `yaml:"ys"`
Log *Log `yaml:"log"`
}

6
pkg/config/ys.go Normal file
View File

@@ -0,0 +1,6 @@
package config
type Ys struct {
AppKey string `yaml:"appKey"`
Secret string `yaml:"secret"`
}