origins

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddPopupAction

type AddPopupAction struct {
	actionutils.ParentAction
}

AddPopupAction 添加源站

func (*AddPopupAction) RunGet

func (this *AddPopupAction) RunGet(params struct {
	ServerId       int64
	ServerType     string
	ReverseProxyId int64
	OriginType     string
})

func (*AddPopupAction) RunPost

func (this *AddPopupAction) RunPost(params struct {
	OriginType string

	ReverseProxyId int64
	Weight         int32
	Protocol       string
	Addr           string
	Name           string

	ConnTimeout  int
	ReadTimeout  int
	MaxConns     int32
	MaxIdleConns int32
	IdleTimeout  int

	CertIdsJSON []byte

	DomainsJSON  []byte
	Host         string
	FollowPort   bool
	Http2Enabled bool

	Description string
	IsOn        bool

	Must *actions.Must
})

type DeleteAction

type DeleteAction struct {
	actionutils.ParentAction
}

func (*DeleteAction) RunPost

func (this *DeleteAction) RunPost(params struct {
	ReverseProxyId int64
	OriginId       int64
	OriginType     string
})

type DetectHTTPSAction added in v1.3.5

type DetectHTTPSAction struct {
	actionutils.ParentAction
}

func (*DetectHTTPSAction) RunPost added in v1.3.5

func (this *DetectHTTPSAction) RunPost(params struct {
	Addr string
})

type UpdateIsOnAction added in v1.3.5

type UpdateIsOnAction struct {
	actionutils.ParentAction
}

func (*UpdateIsOnAction) RunPost added in v1.3.5

func (this *UpdateIsOnAction) RunPost(params struct {
	OriginId int64
	IsOn     bool
})

type UpdatePopupAction

type UpdatePopupAction struct {
	actionutils.ParentAction
}

UpdatePopupAction 修改源站

func (*UpdatePopupAction) Init

func (this *UpdatePopupAction) Init()

func (*UpdatePopupAction) RunGet

func (this *UpdatePopupAction) RunGet(params struct {
	ServerId       int64
	ServerType     string
	ReverseProxyId int64
	OriginType     string
	OriginId       int64
})

func (*UpdatePopupAction) RunPost

func (this *UpdatePopupAction) RunPost(params struct {
	OriginType string
	OriginId   int64

	ReverseProxyId int64
	Protocol       string
	Addr           string
	Weight         int32
	Name           string

	ConnTimeout  int
	ReadTimeout  int
	MaxConns     int32
	MaxIdleConns int32
	IdleTimeout  int

	CertIdsJSON []byte

	DomainsJSON  []byte
	Host         string
	FollowPort   bool
	Http2Enabled bool

	Description string
	IsOn        bool

	Must *actions.Must
})

Jump to

Keyboard shortcuts

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