servers

package
v1.3.9 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: BSD-3-Clause Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddOriginPopupAction

type AddOriginPopupAction struct {
	actionutils.ParentAction
}

func (*AddOriginPopupAction) Init

func (this *AddOriginPopupAction) Init()

func (*AddOriginPopupAction) RunGet

func (this *AddOriginPopupAction) RunGet(params struct {
	ServerType string
})

func (*AddOriginPopupAction) RunPost

func (this *AddOriginPopupAction) RunPost(params struct {
	Protocol string
	Addr     string

	DomainsJSON  []byte
	Host         string
	FollowPort   bool
	Http2Enabled bool

	Must *actions.Must
})

type AddPortPopupAction

type AddPortPopupAction struct {
	actionutils.ParentAction
}

func (*AddPortPopupAction) Init

func (this *AddPortPopupAction) Init()

func (*AddPortPopupAction) RunGet

func (this *AddPortPopupAction) RunGet(params struct {
	ServerType   string
	Protocol     string
	From         string
	SupportRange bool
})

func (*AddPortPopupAction) RunPost

func (this *AddPortPopupAction) RunPost(params struct {
	SupportRange bool

	Protocol string
	Address  string

	Must *actions.Must
})

type AddServerNamePopupAction

type AddServerNamePopupAction struct {
	actionutils.ParentAction
}

func (*AddServerNamePopupAction) Init

func (this *AddServerNamePopupAction) Init()

func (*AddServerNamePopupAction) RunGet

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

func (*AddServerNamePopupAction) RunPost

func (this *AddServerNamePopupAction) RunPost(params struct {
	Mode string

	ServerName  string
	ServerNames string

	Must *actions.Must
})

type CreateAction

type CreateAction struct {
	actionutils.ParentAction
}

func (*CreateAction) Init

func (this *CreateAction) Init()

func (*CreateAction) RunGet

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

func (*CreateAction) RunPost

func (this *CreateAction) RunPost(params struct {
	Name        string
	Description string

	UserId     int64
	UserPlanId int64
	ClusterId  int64

	GroupIds []int64

	ServerType  string
	Addresses   string
	ServerNames []byte
	CertIdsJSON []byte
	Origins     string

	AccessLogIsOn  bool
	WebsocketIsOn  bool
	CacheIsOn      bool
	WafIsOn        bool
	RemoteAddrIsOn bool
	StatIsOn       bool

	WebRoot string

	Must *actions.Must
})

type DeleteServersAction added in v1.3.3

type DeleteServersAction struct {
	actionutils.ParentAction
}

DeleteServersAction 删除一组网站

func (*DeleteServersAction) RunPost added in v1.3.3

func (this *DeleteServersAction) RunPost(params struct {
	ServerIds []int64
})

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 {
	ClusterId    int64
	GroupId      int64
	Keyword      string
	AuditingFlag int32
	CheckDNS     bool
	UserId       int64

	TrafficOutOrder     string
	RequestsOrder       string
	AttackRequestsOrder string
})

type NearbyAction added in v0.3.2

type NearbyAction struct {
	actionutils.ParentAction
}

NearbyAction 查找附近的Server

func (*NearbyAction) RunPost added in v0.3.2

func (this *NearbyAction) RunPost(params struct {
	ServerId int64
	Url      string
})

type ServerNamesPopupAction

type ServerNamesPopupAction struct {
	actionutils.ParentAction
}

func (*ServerNamesPopupAction) Init

func (this *ServerNamesPopupAction) Init()

func (*ServerNamesPopupAction) RunGet

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

type StatusAction

type StatusAction struct {
	actionutils.ParentAction
}

func (*StatusAction) RunPost

func (this *StatusAction) RunPost(params struct {
	ServerIds []int64
})

type UpdateAction

type UpdateAction struct {
	actionutils.ParentAction
}

func (*UpdateAction) Init

func (this *UpdateAction) Init()

func (*UpdateAction) RunGet

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

Directories

Path Synopsis
components
log
waf
log

Jump to

Keyboard shortcuts

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