components

package
v0.4.10 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2022 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SettingCodeServerGlobalConfig = "serverGlobalConfig"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Helper

type Helper struct {
}

func NewHelper

func NewHelper() *Helper

func (*Helper) BeforeAction

func (this *Helper) BeforeAction(action *actions.ActionObject)

type IndexAction

type IndexAction struct {
	actionutils.ParentAction
}

func (*IndexAction) Init

func (this *IndexAction) Init()

func (*IndexAction) RunGet

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

func (*IndexAction) RunPost

func (this *IndexAction) RunPost(params struct {
	GlobalConfigJSON []byte
	Must             *actions.Must

	// 不匹配域名相关
	AllowMismatchDomains                []string
	DomainMismatchAction                string
	DomainMismatchActionPageStatusCode  int
	DomainMismatchActionPageContentHTML string

	// TCP端口设置
	TcpAllPortRangeMin int
	TcpAllPortRangeMax int
	TcpAllDenyPorts    []int

	DefaultDomain string
})

Directories

Path Synopsis
waf

Jump to

Keyboard shortcuts

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