redirects

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: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreatePopupAction

type CreatePopupAction struct {
	actionutils.ParentAction
}

func (*CreatePopupAction) Init

func (this *CreatePopupAction) Init()

func (*CreatePopupAction) RunGet

func (this *CreatePopupAction) RunGet(params struct {
})

func (*CreatePopupAction) RunPost

func (this *CreatePopupAction) RunPost(params struct {
	Type string

	// URL
	Mode           string
	BeforeURL      string
	AfterURL       string
	MatchPrefix    bool
	MatchRegexp    bool
	KeepRequestURI bool
	KeepArgs       bool

	// 域名
	DomainsAll              bool
	DomainsBeforeJSON       []byte
	DomainBeforeIgnorePorts bool
	DomainAfter             string
	DomainAfterScheme       string

	// 端口
	PortsAll        bool
	PortsBefore     []string
	PortAfter       int
	PortAfterScheme string

	Status int

	ExceptDomainsJSON []byte
	OnlyDomainsJSON   []byte

	CondsJSON []byte
	IsOn      bool

	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 {
	ServerId int64
})

func (*IndexAction) RunPost

func (this *IndexAction) RunPost(params struct {
	ServerId          int64
	WebId             int64
	HostRedirectsJSON []byte

	Must *actions.Must
})

Jump to

Keyboard shortcuts

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