locations

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateAction

type CreateAction struct {
	actionutils.ParentAction
}

CreateAction 创建路由规则

func (*CreateAction) Init

func (this *CreateAction) Init()

func (*CreateAction) RunGet

func (this *CreateAction) RunGet(params struct {
	ServerId int64
	ParentId int64 // 父节点
})

func (*CreateAction) RunPost

func (this *CreateAction) RunPost(params struct {
	WebId int64

	Name        string
	Pattern     string
	PatternType int
	Description string

	IsBreak           bool
	IsCaseInsensitive bool
	IsReverse         bool
	CondsJSON         []byte

	DomainsJSON []byte

	Must *actions.Must
})

type DeleteAction

type DeleteAction struct {
	actionutils.ParentAction
}

func (*DeleteAction) RunPost

func (this *DeleteAction) RunPost(params struct {
	WebId      int64
	LocationId int64
})

type IndexAction

type IndexAction struct {
	actionutils.ParentAction
}

func (*IndexAction) Init

func (this *IndexAction) Init()

func (*IndexAction) RunGet

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

type SortAction

type SortAction struct {
	actionutils.ParentAction
}

func (*SortAction) RunPost

func (this *SortAction) RunPost(params struct {
	WebId       int64
	LocationIds []int64
})

Jump to

Keyboard shortcuts

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