apps

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2019 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Helper

type Helper struct {
}

func (*Helper) BeforeAction

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

type IndexAction

type IndexAction actions.Action

func (*IndexAction) Run

func (this *IndexAction) Run(params struct {
	AgentId string
})

设置首页

type UpdateAction

type UpdateAction actions.Action

func (*UpdateAction) Run

func (this *UpdateAction) Run(params struct {
	AgentId string
})

修改设置

func (*UpdateAction) RunPost

func (this *UpdateAction) RunPost(params struct {
	AgentId    string
	Name       string
	Host       string
	GroupId    string
	AllowAllIP bool
	IPs        []string `alias:"ips"`
	On         bool
	Key        string
	Must       *actions.Must
})

提交保存

Jump to

Keyboard shortcuts

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