添加标签功能

This commit is contained in:
我若为王
2021-01-12 14:09:25 +08:00
parent e3dad37670
commit be3fc41755
5 changed files with 135 additions and 77 deletions

View File

@@ -14,10 +14,10 @@ type Server struct {
Name string
DisplayIndex int // 展示权重,越大越靠前
Secret string `json:"-"`
Host *Host `gorm:"-"`
State *State `gorm:"-"`
LastActive time.Time
Tag string
Host *Host `gorm:"-"`
State *State `gorm:"-"`
LastActive time.Time
Stream pb.NezhaService_HeartbeatServer `gorm:"-" json:"-"`
StreamClose chan<- error `gorm:"-" json:"-"`