Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProxyManage ¶
type ProxyManage struct { Id int `gorm:"column:id;primary_key;AUTO_INCREMENT" json:"id"` // 主键 Title string `gorm:"column:title;NOT NULL" json:"title"` // 名称 SubPath string `gorm:"column:sub_path;NOT NULL" json:"sub_path"` // 代理路径 IsRewrite int `gorm:"column:is_rewrite;default:0;NOT NULL" json:"is_rewrite"` // 是否重写路径 ProxyAddr string `gorm:"column:proxy_addr;NOT NULL" json:"proxy_addr"` // 代理地址 CreateTime int64 `gorm:"column:create_time;default:0;NOT NULL" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;default:0;NOT NULL" json:"update_time"` // 更新时间 DeleteTime int64 `gorm:"column:delete_time;default:0;NOT NULL" json:"delete_time"` // 删除时间 Uid int `gorm:"column:uid;default:0;NOT NULL" json:"uid"` // 操作人uid }
type ProxyManageCreateOrUpdateParams ¶
type ProxyManageCreateOrUpdateParams struct { ID int `json:"id"` SubPath string `json:"sub_path"` IsRewrite int `json:"is_rewrite"` ProxyAddr string `json:"proxy_addr"` Title string `json:"title"` UID uint32 `json:"uid"` }
func (*ProxyManageCreateOrUpdateParams) Valid ¶
func (req *ProxyManageCreateOrUpdateParams) Valid() (isValid bool, msg string)
Valid 是否合法
type ProxyManageDeleteParams ¶
func (*ProxyManageDeleteParams) Valid ¶
func (req *ProxyManageDeleteParams) Valid() (isValid bool, msg string)
Valid 是否合法
type ProxyManageListParams ¶
type ProxyManageListParams struct { Current int `query:"current" json:"current"` PageSize int `query:"pageSize" json:"pageSize"` Query string `query:"query" json:"query"` }
func (*ProxyManageListParams) Valid ¶
func (req *ProxyManageListParams) Valid() (isValid bool, msg string)
Valid 是否合法
type ProxyMenu ¶
type ProxyMenu struct { Id int `gorm:"column:id;primary_key;AUTO_INCREMENT" json:"id"` // 主键 PanelType string `gorm:"column:panel_type;NOT NULL" json:"panel_type"` // 功能页面类型 ProxyUrl string `gorm:"column:proxy_url;NOT NULL" json:"proxy_url"` // 代理地址 Key string `gorm:"column:key;NOT NULL" json:"key"` // 唯一key CreateTime int64 `gorm:"column:create_time;default:0;NOT NULL" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;default:0;NOT NULL" json:"update_time"` // 更新时间 DeleteTime int64 `gorm:"column:delete_time;default:0;NOT NULL" json:"delete_time"` // 删除时间 Uid int `gorm:"column:uid;default:0;NOT NULL" json:"uid"` // 操作人uid Title string `gorm:"column:title;NOT NULL" json:"title"` // 功能页面 }
type ProxyMenuCreateOrUpdateParams ¶
type ProxyMenuCreateOrUpdateParams struct { ID int `json:"id"` Title string `json:"title"` ProxyURL string `json:"proxy_url"` Key string `json:"key"` PanelType string `json:"panel_type"` UID uint32 `json:"uid"` }
func (*ProxyMenuCreateOrUpdateParams) Valid ¶
func (req *ProxyMenuCreateOrUpdateParams) Valid() (isValid bool, msg string)
Valid 是否合法
type ProxyMenuDeleteParams ¶
func (*ProxyMenuDeleteParams) Valid ¶
func (req *ProxyMenuDeleteParams) Valid() (isValid bool, msg string)
Valid 是否合法
type ProxyMenuFunc ¶
type ProxyMenuFunc struct { Title string `json:"title"` PanelType string `json:"panelType"` Key string `json:"key"` Config ProxyMenuFuncConfig `json:"config"` }
type ProxyMenuFuncConfig ¶
type ProxyMenuFuncConfig struct {
ProxyURL string `json:"proxyURL"`
}
type ProxyMenuListParams ¶
type ProxyMenuListParams struct { Current int `query:"current" json:"current"` PageSize int `query:"pageSize" json:"pageSize"` Query string `query:"query" json:"query"` }
func (*ProxyMenuListParams) Valid ¶
func (req *ProxyMenuListParams) Valid() (isValid bool, msg string)
Valid 是否合法
type ProxyUIParams ¶
func (*ProxyUIParams) Valid ¶
func (req *ProxyUIParams) Valid() (isValid bool, msg string)
Valid 是否合法
Click to show internal directories.
Click to hide internal directories.