pages

package
v1.2.155 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: GPL-3.0 Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PutRoomsEnd

func PutRoomsEnd() string

func PutRoomsHead

func PutRoomsHead() string

func StreamPutRoomsEnd

func StreamPutRoomsEnd(qw422016 *qt422016.Writer)

func StreamPutRoomsHead

func StreamPutRoomsHead(qw422016 *qt422016.Writer)

func StreamSwaggerPage added in v1.1.10120

func StreamSwaggerPage(qw422016 *qt422016.Writer)

func SwaggerPage added in v1.1.10120

func SwaggerPage() string

func WritePutRoomsEnd

func WritePutRoomsEnd(qq422016 qtio422016.Writer)

func WritePutRoomsHead

func WritePutRoomsHead(qq422016 qtio422016.Writer)

func WriteSwaggerPage added in v1.1.10120

func WriteSwaggerPage(qq422016 qtio422016.Writer)

Types

type AdminPageBody

type AdminPageBody struct {
	Name       []byte
	Pass       []byte
	Content    string
	Catalog    layouts.Menu
	TopMenu    layouts.Menu
	FooterMenu layouts.Menu
	Title      string
	Head       *layouts.HeadHTMLPage
}

func (*AdminPageBody) ShowAdminPage

func (body *AdminPageBody) ShowAdminPage(activePage string) string

func (*AdminPageBody) StreamShowAdminPage

func (body *AdminPageBody) StreamShowAdminPage(qw422016 *qt422016.Writer, activePage string)

func (*AdminPageBody) WriteShowAdminPage

func (body *AdminPageBody) WriteShowAdminPage(qq422016 qtio422016.Writer, activePage string)

type DiscountAllData

type DiscountAllData struct {
	Min_points_count int
	Max_points_count int
	DiscountMain     DiscountData
	DiscountChildren DiscountData
	DiscountTerm     DiscountData
}

func (*DiscountAllData) JSON

func (d *DiscountAllData) JSON() string

func (*DiscountAllData) StreamJSON

func (d *DiscountAllData) StreamJSON(qw422016 *qt422016.Writer)

func (*DiscountAllData) WriteJSON

func (d *DiscountAllData) WriteJSON(qq422016 qtio422016.Writer)

type DiscountData

type DiscountData struct {
	Rules                 []DiscountRules
	ChildRules            DiscountRules
	DiscountLongTermRules DiscountTermRules
}

type DiscountRules

type DiscountRules struct {
	Count_use_for int
	Value         string
}

type DiscountTermRules

type DiscountTermRules struct {
	Main_place_only int
	Value           string
	Condition       int
	Night_count     int
}

type IndexPageBody

type IndexPageBody struct {
	Name         []byte
	Pass         []byte
	Content      []byte
	ContentWrite func(w io.Writer)
	Buff         io.Writer
	Catalog      layouts.Menu
	TopMenu      layouts.Menu
	FooterMenu   layouts.Menu
	HeadHTML     *layouts.HeadHTMLPage
	OwnerMenu    *layouts.MenuOwnerBody
	Title        string
	Route        string
	Attr         string
	AfterAuthURL string
	ChangeTheme  string
	SearchPanel  *layouts.SearchPanel
}

func (*IndexPageBody) IndexHTML

func (body *IndexPageBody) IndexHTML() string

func (*IndexPageBody) StreamIndexHTML

func (body *IndexPageBody) StreamIndexHTML(qw422016 *qt422016.Writer)

func (*IndexPageBody) WriteIndexHTML

func (body *IndexPageBody) WriteIndexHTML(qq422016 qtio422016.Writer)

type ParamUrlTestPage

type ParamUrlTestPage struct {
	Basic   *types.Basic
	Name    string
	IsSlice bool
	Value   interface{}
	Req     bool
	Type    string
	Comment string
}

func (*ParamUrlTestPage) StreamTypeInput added in v1.0.310

func (p *ParamUrlTestPage) StreamTypeInput(qw422016 *qt422016.Writer)

func (*ParamUrlTestPage) TypeInput added in v1.0.310

func (p *ParamUrlTestPage) TypeInput() string

func (*ParamUrlTestPage) WriteTypeInput added in v1.0.310

func (p *ParamUrlTestPage) WriteTypeInput(qq422016 qtio422016.Writer)

type ProfilePageBody

type ProfilePageBody struct {
	Name    []byte
	Pass    []byte
	Content string
	Catalog []string
	TopMenu []string
	Title   string
}

func (*ProfilePageBody) ProfilePageHTML

func (body *ProfilePageBody) ProfilePageHTML() string

func (*ProfilePageBody) StreamProfilePageHTML

func (body *ProfilePageBody) StreamProfilePageHTML(qw422016 *qt422016.Writer)

func (*ProfilePageBody) WriteProfilePageHTML

func (body *ProfilePageBody) WriteProfilePageHTML(qq422016 qtio422016.Writer)

type URLTestPage

type URLTestPage struct {
	Host       string
	Method     string
	Multipart  bool
	Path       string
	Language   string
	Charset    string
	LinkStyles []string
	MetaTags   []string
	Params     []ParamUrlTestPage
	Resp       string
}

func (*URLTestPage) EncType added in v1.0.310

func (u *URLTestPage) EncType() string

func (*URLTestPage) ShowURlTestPage

func (u *URLTestPage) ShowURlTestPage() string

func (*URLTestPage) StreamEncType added in v1.0.310

func (u *URLTestPage) StreamEncType(qw422016 *qt422016.Writer)

func (*URLTestPage) StreamShowURlTestPage

func (u *URLTestPage) StreamShowURlTestPage(qw422016 *qt422016.Writer)

func (*URLTestPage) StreamURL added in v1.0.310

func (u *URLTestPage) StreamURL(qw422016 *qt422016.Writer)

func (*URLTestPage) URL added in v1.0.310

func (u *URLTestPage) URL() string

func (*URLTestPage) WriteEncType added in v1.0.310

func (u *URLTestPage) WriteEncType(qq422016 qtio422016.Writer)

func (*URLTestPage) WriteShowURlTestPage

func (u *URLTestPage) WriteShowURlTestPage(qq422016 qtio422016.Writer)

func (*URLTestPage) WriteURL added in v1.0.310

func (u *URLTestPage) WriteURL(qq422016 qtio422016.Writer)

Jump to

Keyboard shortcuts

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