Documentation ¶
Index ¶
- func InitIPList(action *actionutils.ParentAction, listId int64) error
- type AccessLogsPopupAction
- type BindHTTPFirewallPopupAction
- type CreateIPPopupAction
- type CreatePopupAction
- type DeleteAction
- type DeleteIPAction
- type ExportAction
- type ExportDataAction
- type HttpFirewallAction
- type ImportAction
- type IndexAction
- type ItemsAction
- type LevelOptionsAction
- type ListAction
- type SelectPopupAction
- type TestAction
- type UnbindHTTPFirewallAction
- type UpdateAction
- type UpdateIPPopupAction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitIPList ¶
func InitIPList(action *actionutils.ParentAction, listId int64) error
Types ¶
type AccessLogsPopupAction ¶ added in v0.2.8
type AccessLogsPopupAction struct {
actionutils.ParentAction
}
func (*AccessLogsPopupAction) Init ¶ added in v0.2.8
func (this *AccessLogsPopupAction) Init()
func (*AccessLogsPopupAction) RunGet ¶ added in v0.2.8
func (this *AccessLogsPopupAction) RunGet(params struct { ItemId int64 })
type BindHTTPFirewallPopupAction ¶
type BindHTTPFirewallPopupAction struct {
actionutils.ParentAction
}
func (*BindHTTPFirewallPopupAction) Init ¶
func (this *BindHTTPFirewallPopupAction) Init()
func (*BindHTTPFirewallPopupAction) RunGet ¶
func (this *BindHTTPFirewallPopupAction) RunGet(params struct { HttpFirewallPolicyId int64 Type string })
type CreateIPPopupAction ¶
type CreateIPPopupAction struct {
actionutils.ParentAction
}
func (*CreateIPPopupAction) Init ¶
func (this *CreateIPPopupAction) Init()
func (*CreateIPPopupAction) RunGet ¶
func (this *CreateIPPopupAction) RunGet(params struct { ListId int64 })
type CreatePopupAction ¶
type CreatePopupAction struct {
actionutils.ParentAction
}
func (*CreatePopupAction) Init ¶
func (this *CreatePopupAction) Init()
func (*CreatePopupAction) RunGet ¶
func (this *CreatePopupAction) RunGet(params struct { Type string })
func (*CreatePopupAction) RunPost ¶
func (this *CreatePopupAction) RunPost(params struct { Name string Type string Description string Must *actions.Must CSRF *actionutils.CSRF })
type DeleteAction ¶
type DeleteAction struct {
actionutils.ParentAction
}
func (*DeleteAction) RunPost ¶
func (this *DeleteAction) RunPost(params struct { ListId int64 })
type DeleteIPAction ¶
type DeleteIPAction struct {
actionutils.ParentAction
}
func (*DeleteIPAction) RunPost ¶
func (this *DeleteIPAction) RunPost(params struct { ItemId int64 })
type ExportAction ¶
type ExportAction struct {
actionutils.ParentAction
}
func (*ExportAction) Init ¶
func (this *ExportAction) Init()
func (*ExportAction) RunGet ¶
func (this *ExportAction) RunGet(params struct { ListId int64 })
type ExportDataAction ¶
type ExportDataAction struct {
actionutils.ParentAction
}
func (*ExportDataAction) Init ¶
func (this *ExportDataAction) Init()
func (*ExportDataAction) RunGet ¶
func (this *ExportDataAction) RunGet(params struct { ListId int64 Format string })
type HttpFirewallAction ¶
type HttpFirewallAction struct {
actionutils.ParentAction
}
HttpFirewallAction 显示已经绑定的IP名单
func (*HttpFirewallAction) RunPost ¶
func (this *HttpFirewallAction) RunPost(params struct { HttpFirewallPolicyId int64 Type string })
type ImportAction ¶
type ImportAction struct {
actionutils.ParentAction
}
func (*ImportAction) Init ¶
func (this *ImportAction) Init()
func (*ImportAction) RunGet ¶
func (this *ImportAction) RunGet(params struct { ListId int64 })
func (*ImportAction) RunPost ¶
func (this *ImportAction) RunPost(params struct { ListId int64 File *actions.File Must *actions.Must CSRF *actionutils.CSRF })
type IndexAction ¶
type IndexAction struct {
actionutils.ParentAction
}
func (*IndexAction) Init ¶
func (this *IndexAction) Init()
func (*IndexAction) RunGet ¶
func (this *IndexAction) RunGet(params struct { Type string Keyword string })
type ItemsAction ¶
type ItemsAction struct {
actionutils.ParentAction
}
func (*ItemsAction) Init ¶
func (this *ItemsAction) Init()
func (*ItemsAction) RunGet ¶
func (this *ItemsAction) RunGet(params struct { ListId int64 })
type LevelOptionsAction ¶ added in v0.2.8
type LevelOptionsAction struct {
actionutils.ParentAction
}
func (*LevelOptionsAction) RunPost ¶ added in v0.2.8
func (this *LevelOptionsAction) RunPost(params struct{})
type ListAction ¶
type ListAction struct {
actionutils.ParentAction
}
func (*ListAction) Init ¶
func (this *ListAction) Init()
func (*ListAction) RunGet ¶
func (this *ListAction) RunGet(params struct { ListId int64 })
type SelectPopupAction ¶ added in v0.2.8
type SelectPopupAction struct {
actionutils.ParentAction
}
func (*SelectPopupAction) Init ¶ added in v0.2.8
func (this *SelectPopupAction) Init()
func (*SelectPopupAction) RunGet ¶ added in v0.2.8
func (this *SelectPopupAction) RunGet(params struct { Type string })
type TestAction ¶
type TestAction struct {
actionutils.ParentAction
}
func (*TestAction) Init ¶
func (this *TestAction) Init()
func (*TestAction) RunGet ¶
func (this *TestAction) RunGet(params struct { ListId int64 })
func (*TestAction) RunPost ¶
func (this *TestAction) RunPost(params struct { ListId int64 Ip string Must *actions.Must CSRF *actionutils.CSRF })
type UnbindHTTPFirewallAction ¶
type UnbindHTTPFirewallAction struct {
actionutils.ParentAction
}
func (*UnbindHTTPFirewallAction) RunPost ¶
func (this *UnbindHTTPFirewallAction) RunPost(params struct { HttpFirewallPolicyId int64 ListId int64 })
type UpdateAction ¶
type UpdateAction struct {
actionutils.ParentAction
}
func (*UpdateAction) Init ¶
func (this *UpdateAction) Init()
func (*UpdateAction) RunGet ¶
func (this *UpdateAction) RunGet(params struct { ListId int64 })
type UpdateIPPopupAction ¶
type UpdateIPPopupAction struct {
actionutils.ParentAction
}
func (*UpdateIPPopupAction) Init ¶
func (this *UpdateIPPopupAction) Init()
func (*UpdateIPPopupAction) RunGet ¶
func (this *UpdateIPPopupAction) RunGet(params struct { ItemId int64 })
Source Files ¶
Click to show internal directories.
Click to hide internal directories.