Browse Source

adding returnNode fields for frontend

afeiszli 4 năm trước cách đây
mục cha
commit
1bc00067ed
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      models/returnNode.go

+ 3 - 0
models/returnNode.go

@@ -18,4 +18,7 @@ type ReturnNode struct {
 	Interface	string `json:"interface" bson:"interface"`
 	Group	string `json:"group" bson:"group"`
 	IsPending	*bool `json:"ispending" bson:"ispending"`
+        LocalAddress    string `json:"localaddress" bson:"localaddress" validate:"localaddress_check"`
+        ExpirationDateTime      int64 `json:"expdatetime" bson:"expdatetime"`
+        CheckInInterval int32 `json:"checkininterval" bson:"checkininterval"`
 }