Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SentinelDTO ¶
type SentinelDTO struct { AppName string `gorm:"column:app_name" json:"AppName" form:"AppName" comment:"AppName"` DefaultAppType int `gorm:"column:app_type" json:"DefaultAppType" form:"DefaultAppType" comment:"DefaultAppType"` MetricHttpAddr string `gorm:"column:metric_http_addr" json:"MetricHttpAddr" form:"MetricHttpAddr" comment:"MetricHttpAddr"` MetricHttpPath string `gorm:"column:metric_http_path" json:"MetricHttpPath" form:"MetricHttpPath" comment:"MetricHttpPath"` CollectIntervalMs int `gorm:"column:collect_interval_ms" json:"CollectIntervalMs" form:"CollectIntervalMs" comment:"CollectIntervalMs"` }
type SentinelVO ¶
type SentinelVO struct { Id int64 `gorm:"primaryKey;autoIncrement:false" json:"Id,string"` AppName string `gorm:"column:app_name" json:"AppName" form:"AppName" comment:"AppName"` DefaultAppType int `gorm:"column:app_type" json:"DefaultAppType" form:"DefaultAppType" comment:"DefaultAppType"` MetricHttpAddr string `gorm:"column:metric_http_addr" json:"MetricHttpAddr" form:"MetricHttpAddr" comment:"MetricHttpAddr"` MetricHttpPath string `gorm:"column:metric_http_path" json:"MetricHttpPath" form:"MetricHttpPath" comment:"MetricHttpPath"` CollectIntervalMs int `gorm:"column:collect_interval_ms" json:"CollectIntervalMs" form:"CollectIntervalMs" comment:"CollectIntervalMs"` Rules []model.SentinelRuleEntity `gorm:"foreignKey:sentinel_id;association_foreignkey:Id;constraint:OnCreate:CASCADE,OnUpdate:CASCADE,OnDelete:CASCADE;"` }
func (SentinelVO) GetDetailVO ¶
func (c SentinelVO) GetDetailVO() interface{}
func (SentinelVO) GetListVO ¶
func (c SentinelVO) GetListVO() interface{}
Click to show internal directories.
Click to hide internal directories.