origins

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 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 AddPopupAction

type AddPopupAction struct {
	actionutils.ParentAction
}

AddPopupAction 添加源站

func (*AddPopupAction) RunGet

func (this *AddPopupAction) RunGet(params struct {
	ServerId       int64
	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

	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 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
	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

	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