pages

package
v1.3.9 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 {
	Status   string
	BodyType string

	URL  string `alias:"url"`
	Body string

	ExceptURLPatternsJSON []byte
	OnlyURLPatternsJSON   []byte

	NewStatus int
	Must      *actions.Must
})

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

func (*IndexAction) RunPost

func (this *IndexAction) RunPost(params struct {
	WebId             int64
	PagesJSON         []byte
	ShutdownJSON      []byte
	EnableGlobalPages bool
	Must              *actions.Must
})

type UpdatePopupAction

type UpdatePopupAction struct {
	actionutils.ParentAction
}

func (*UpdatePopupAction) Init

func (this *UpdatePopupAction) Init()

func (*UpdatePopupAction) RunGet

func (this *UpdatePopupAction) RunGet(params struct {
	PageId int64
})

func (*UpdatePopupAction) RunPost

func (this *UpdatePopupAction) RunPost(params struct {
	PageId int64

	Status string

	BodyType string
	URL      string `alias:"url"`
	Body     string

	ExceptURLPatternsJSON []byte
	OnlyURLPatternsJSON   []byte

	NewStatus int

	Must *actions.Must
})

Jump to

Keyboard shortcuts

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