Files
SamWaf/model/loadbalance.go
samwaf 11fbdd5cc4 feat:add loadbalance
Closes #IATAQS
2024-09-27 16:55:58 +08:00

16 lines
404 B
Go

package model
import "SamWaf/model/baseorm"
/*
负载均衡模型
*/
type LoadBalance struct {
baseorm.BaseOrm
HostCode string `json:"host_code"` //网站唯一码(主要键)
Remote_port int `json:"remote_port"` //远端端口
Remote_ip string `json:"remote_ip"` //远端指定IP
Weight int `json:"weight"` //权重
Remarks string `json:"remarks"` //备注
}