修复内存数据更新

This commit is contained in:
奶爸
2019-12-13 17:56:14 +08:00
parent a8e02fc9bb
commit af146872fe
3 changed files with 8 additions and 4 deletions

View File

@@ -10,8 +10,8 @@ type Server struct {
Name string
Secret string
Host Host
State State
Host *Host
State *State
Stream pb.NezhaService_HeartbeatServer `gorm:"-" json:"-"`
StreamClose chan<- error `gorm:"-" json:"-"`