headers

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2023 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateDeletePopupAction

type CreateDeletePopupAction struct {
	actionutils.ParentAction
}

func (*CreateDeletePopupAction) Init

func (this *CreateDeletePopupAction) Init()

func (*CreateDeletePopupAction) RunGet

func (this *CreateDeletePopupAction) RunGet(params struct {
	HeaderPolicyId int64
	Type           string
})

func (*CreateDeletePopupAction) RunPost

func (this *CreateDeletePopupAction) RunPost(params struct {
	HeaderPolicyId int64
	Name           string

	Must *actions.Must
})

type CreateSetPopupAction

type CreateSetPopupAction struct {
	actionutils.ParentAction
}

func (*CreateSetPopupAction) Init

func (this *CreateSetPopupAction) Init()

func (*CreateSetPopupAction) RunGet

func (this *CreateSetPopupAction) RunGet(params struct {
	HeaderPolicyId int64
	Type           string
})

func (*CreateSetPopupAction) RunPost

func (this *CreateSetPopupAction) RunPost(params struct {
	HeaderPolicyId int64
	Name           string
	Value          string

	StatusListJSON    []byte
	MethodsJSON       []byte
	DomainsJSON       []byte
	ShouldAppend      bool
	DisableRedirect   bool
	ShouldReplace     bool
	ReplaceValuesJSON []byte

	Must *actions.Must
})

type DeleteAction

type DeleteAction struct {
	actionutils.ParentAction
}

DeleteAction 删除Header

func (*DeleteAction) RunPost

func (this *DeleteAction) RunPost(params struct {
	HeaderPolicyId int64
	Type           string
	HeaderId       int64
})

type DeleteDeletingHeaderAction

type DeleteDeletingHeaderAction struct {
	actionutils.ParentAction
}

func (*DeleteDeletingHeaderAction) RunPost

func (this *DeleteDeletingHeaderAction) RunPost(params struct {
	HeaderPolicyId int64
	HeaderName     string
})

type IndexAction

type IndexAction struct {
	actionutils.ParentAction
}

func (*IndexAction) Init

func (this *IndexAction) Init()

func (*IndexAction) RunGet

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

type UpdateCORSPopupAction added in v0.6.0

type UpdateCORSPopupAction struct {
	actionutils.ParentAction
}

func (*UpdateCORSPopupAction) Init added in v0.6.0

func (this *UpdateCORSPopupAction) Init()

func (*UpdateCORSPopupAction) RunGet added in v0.6.0

func (this *UpdateCORSPopupAction) RunGet(params struct {
	HeaderPolicyId int64
})

func (*UpdateCORSPopupAction) RunPost added in v0.6.0

func (this *UpdateCORSPopupAction) RunPost(params struct {
	HeaderPolicyId int64
	CorsJSON       []byte

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

type UpdateSetPopupAction

type UpdateSetPopupAction struct {
	actionutils.ParentAction
}

func (*UpdateSetPopupAction) Init

func (this *UpdateSetPopupAction) Init()

func (*UpdateSetPopupAction) RunGet

func (this *UpdateSetPopupAction) RunGet(params struct {
	HeaderPolicyId int64
	HeaderId       int64
	Type           string
})

func (*UpdateSetPopupAction) RunPost

func (this *UpdateSetPopupAction) RunPost(params struct {
	HeaderId int64
	Name     string
	Value    string

	StatusListJSON    []byte
	MethodsJSON       []byte
	DomainsJSON       []byte
	ShouldAppend      bool
	DisableRedirect   bool
	ShouldReplace     bool
	ReplaceValuesJSON []byte

	Must *actions.Must
})

Jump to

Keyboard shortcuts

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