servergroups

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2020 License: MIT, MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddAction

type AddAction actions.Action

func (*AddAction) RunGet

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

添加分组

func (*AddAction) RunPost

func (this *AddAction) RunPost(params struct {
	Name string

	Must *actions.Must
})

type AddServerAction

type AddServerAction actions.Action

func (*AddServerAction) RunGet

func (this *AddServerAction) RunGet(params struct {
	GroupId string
})

func (*AddServerAction) RunPost

func (this *AddServerAction) RunPost(params struct {
	GroupId   string
	ServerIds []string

	Must *actions.Must
})

type DeleteAction

type DeleteAction actions.Action

func (*DeleteAction) RunPost

func (this *DeleteAction) RunPost(params struct {
	GroupId string
})

删除分组

type DeleteServerAction

type DeleteServerAction actions.Action

func (*DeleteServerAction) RunPost

func (this *DeleteServerAction) RunPost(params struct {
	GroupId  string
	ServerId string
})

type Helper

type Helper struct {
}

func (*Helper) BeforeAction

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

相关Helper

type IndexAction

type IndexAction actions.Action

func (*IndexAction) RunGet

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

type UpdateAction

type UpdateAction actions.Action

func (*UpdateAction) RunGet

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

func (*UpdateAction) RunPost

func (this *UpdateAction) RunPost(params struct {
	GroupId string
	Name    string

	Must *actions.Must
})

Jump to

Keyboard shortcuts

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