node

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2021 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateAddrPopupAction

type CreateAddrPopupAction struct {
	actionutils.ParentAction
}

添加地址

func (*CreateAddrPopupAction) Init

func (this *CreateAddrPopupAction) Init()

func (*CreateAddrPopupAction) RunGet

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

func (*CreateAddrPopupAction) RunPost

func (this *CreateAddrPopupAction) RunPost(params struct {
	Protocol string
	Addr     string
	Must     *actions.Must
})

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 {
	Name            string
	Description     string
	ListensJSON     []byte
	CertIdsJSON     []byte
	AccessAddrsJSON []byte
	IsOn            bool

	Must *actions.Must
})

type Helper

type Helper struct {
}

func NewHelper

func NewHelper() *Helper

func (*Helper) BeforeAction

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

type IndexAction

type IndexAction struct {
	actionutils.ParentAction
}

func (*IndexAction) Init

func (this *IndexAction) Init()

func (*IndexAction) RunGet

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

type InstallAction

type InstallAction struct {
	actionutils.ParentAction
}

func (*InstallAction) Init

func (this *InstallAction) Init()

func (*InstallAction) RunGet

func (this *InstallAction) RunGet(params struct {
	NodeId int64
})

type LogsAction added in v0.2.0

type LogsAction struct {
	actionutils.ParentAction
}

func (*LogsAction) Init added in v0.2.0

func (this *LogsAction) Init()

func (*LogsAction) RunGet added in v0.2.0

func (this *LogsAction) RunGet(params struct {
	NodeId int64

	DayFrom string
	DayTo   string
	Keyword string
	Level   string
})

type UpdateAction

type UpdateAction struct {
	actionutils.ParentAction
}

func (*UpdateAction) Init

func (this *UpdateAction) Init()

func (*UpdateAction) RunGet

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

func (*UpdateAction) RunPost

func (this *UpdateAction) RunPost(params struct {
	NodeId          int64
	Name            string
	SslPolicyId     int64
	ListensJSON     []byte
	CertIdsJSON     []byte
	AccessAddrsJSON []byte
	Description     string
	IsOn            bool

	Must *actions.Must
})

保存基础设置

type UpdateAddrPopupAction

type UpdateAddrPopupAction struct {
	actionutils.ParentAction
}

func (*UpdateAddrPopupAction) Init

func (this *UpdateAddrPopupAction) Init()

func (*UpdateAddrPopupAction) RunGet

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

func (*UpdateAddrPopupAction) RunPost

func (this *UpdateAddrPopupAction) RunPost(params struct {
	Protocol string
	Addr     string
	Must     *actions.Must
})

Jump to

Keyboard shortcuts

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