Documentation ¶
Index ¶
- func InitIPList(action *actionutils.ParentAction, listId int64) error
- type AccessLogsPopupAction
- type BindHTTPFirewallPopupAction
- type CreateIPPopupAction
- type CreatePopupAction
- type DeleteAction
- type DeleteCountAction
- type DeleteIPAction
- type DeleteItemsAction
- type ExportAction
- type ExportDataAction
- type HttpFirewallAction
- type ImportAction
- type IndexAction
- type ItemsAction
- type LevelOptionsAction
- type ListAction
- type ListsAction
- type ReadAllAction
- 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 })
type DeleteAction ¶
type DeleteAction struct {
actionutils.ParentAction
}
func (*DeleteAction) RunPost ¶
func (this *DeleteAction) RunPost(params struct { ListId int64 })
type DeleteCountAction ¶ added in v1.3.2
type DeleteCountAction struct {
actionutils.ParentAction
}
type DeleteIPAction ¶
type DeleteIPAction struct {
actionutils.ParentAction
}
func (*DeleteIPAction) RunPost ¶
func (this *DeleteIPAction) RunPost(params struct { ItemId int64 })
type DeleteItemsAction ¶ added in v0.3.5
type DeleteItemsAction struct {
actionutils.ParentAction
}
func (*DeleteItemsAction) RunPost ¶ added in v0.3.5
func (this *DeleteItemsAction) RunPost(params struct { ItemIds []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()
type ItemsAction ¶
type ItemsAction struct {
actionutils.ParentAction
}
func (*ItemsAction) Init ¶
func (this *ItemsAction) Init()
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 ListsAction ¶ added in v0.3.5
type ListsAction struct {
actionutils.ParentAction
}
func (*ListsAction) Init ¶ added in v0.3.5
func (this *ListsAction) Init()
func (*ListsAction) RunGet ¶ added in v0.3.5
func (this *ListsAction) RunGet(params struct { Type string Keyword string })
type ReadAllAction ¶ added in v0.4.0
type ReadAllAction struct {
actionutils.ParentAction
}
func (*ReadAllAction) RunPost ¶ added in v0.4.0
func (this *ReadAllAction) RunPost(params struct{})
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 ¶
- accessLogsPopup.go
- bindHTTPFirewallPopup.go
- createIPPopup.go
- createPopup.go
- delete.go
- deleteCount.go
- deleteIP.go
- deleteItems.go
- export.go
- exportData.go
- httpFirewall.go
- import.go
- index.go
- init.go
- items.go
- levelOptions.go
- list.go
- lists.go
- readAll.go
- selectPopup.go
- test.go
- unbindHTTPFirewall.go
- update.go
- updateIPPopup.go
- utils.go
Click to show internal directories.
Click to hide internal directories.