Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddAction ¶
func (*AddAction) Run ¶
func (this *AddAction) Run(params struct { From string ServerId string LocationId string // 路径 Websocket bool // 是否是Websocket设置 Backup bool })
添加服务器
func (*AddAction) RunPost ¶
func (this *AddAction) RunPost(params struct { ServerId string LocationId string // 路径 Websocket bool // 是否是Websocket设置 Address string Scheme string Weight uint On bool Code string FailTimeout uint ReadTimeout uint MaxFails int32 MaxConns int32 IsBackup bool RequestGroupIds []string RequestURI string CheckURL string CheckInterval int RequestHeaderNames []string RequestHeaderValues []string ResponseHeaderNames []string ResponseHeaderValues []string Host string Must *actions.Must })
提交
type ClearFailsAction ¶
type DataAction ¶
type DeleteAction ¶
type IndexAction ¶
type OnlineAction ¶
type SchedulingAction ¶
type UpdateAction ¶
func (*UpdateAction) Run ¶
func (this *UpdateAction) Run(params struct { ServerId string LocationId string Websocket bool Backend string From string })
修改后端服务器
func (*UpdateAction) RunPost ¶
func (this *UpdateAction) RunPost(params struct { ServerId string LocationId string Websocket bool BackendId string Address string Scheme string Weight uint On bool Code string FailTimeout uint ReadTimeout uint MaxFails int32 MaxConns int32 IsBackup bool RequestGroupIds []string RequestURI string CheckURL string CheckInterval int RequestHeaderNames []string RequestHeaderValues []string ResponseHeaderNames []string ResponseHeaderValues []string Host string Must *actions.Must })
提交
Click to show internal directories.
Click to hide internal directories.