ipadmin

package
v1.3.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteIPAction

type DeleteIPAction struct {
	actionutils.ParentAction
}

func (*DeleteIPAction) RunPost

func (this *DeleteIPAction) RunPost(params struct {
	FirewallPolicyId int64
	ItemId           int64
})

type IndexAction

type IndexAction struct {
	actionutils.ParentAction
}

func (*IndexAction) Init

func (this *IndexAction) Init()

func (*IndexAction) RunGet

func (this *IndexAction) RunGet(params struct {
	FirewallPolicyId int64
})

func (*IndexAction) RunPost

func (this *IndexAction) RunPost(params struct {
	FirewallPolicyId int64
	DenyCountryIds   []int64
	AllowCountryIds  []int64

	ExceptURLPatternsJSON []byte
	OnlyURLPatternsJSON   []byte

	CountryHTML string

	Must *actions.Must
})

type ListsAction

type ListsAction struct {
	actionutils.ParentAction
}

func (*ListsAction) Init

func (this *ListsAction) Init()

func (*ListsAction) RunGet

func (this *ListsAction) RunGet(params struct {
	FirewallPolicyId int64
	Type             string
})

type ProvincesAction

type ProvincesAction struct {
	actionutils.ParentAction
}

func (*ProvincesAction) Init

func (this *ProvincesAction) Init()

func (*ProvincesAction) RunGet

func (this *ProvincesAction) RunGet(params struct {
	FirewallPolicyId int64
})

func (*ProvincesAction) RunPost

func (this *ProvincesAction) RunPost(params struct {
	FirewallPolicyId int64
	DenyProvinceIds  []int64
	AllowProvinceIds []int64

	ExceptURLPatternsJSON []byte
	OnlyURLPatternsJSON   []byte

	ProvinceHTML string

	Must *actions.Must
})

type TestAction added in v0.0.10

type TestAction struct {
	actionutils.ParentAction
}

func (*TestAction) Init added in v0.0.10

func (this *TestAction) Init()

func (*TestAction) RunGet added in v0.0.10

func (this *TestAction) RunGet(params struct {
	FirewallPolicyId int64
})

func (*TestAction) RunPost added in v0.0.10

func (this *TestAction) RunPost(params struct {
	FirewallPolicyId int64
	Ip               string

	Must *actions.Must
})

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
})

func (*UpdateIPPopupAction) RunPost

func (this *UpdateIPPopupAction) RunPost(params struct {
	FirewallPolicyId int64
	ItemId           int64

	Value      string
	ExpiredAt  int64
	Reason     string
	Type       string
	EventLevel string

	Must *actions.Must
	CSRF *actionutils.CSRF
})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL