fix(be):使用初始化init 初始化一些参数
This commit is contained in:
@ -69,3 +69,7 @@ func NewStore() *TunStore {
|
||||
store := TunStore{sync.Map{}}
|
||||
return &store
|
||||
}
|
||||
|
||||
func init() {
|
||||
Store = NewStore()
|
||||
}
|
||||
|
Reference in New Issue
Block a user