pages

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: GPL-3.0 Imports: 4 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 WritePutRoomsEnd

func WritePutRoomsEnd(qq422016 qtio422016.Writer)

func WritePutRoomsHead

func WritePutRoomsHead(qq422016 qtio422016.Writer)

Types

type AdminPageBody

type AdminPageBody struct {
	Name    []byte
	Pass    []byte
	Content string
	Catalog map[string]*ItemMenu
	TopMenu map[string]string
	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      string
	ContentWrite func(w io.Writer)
	Buff         io.Writer
	Catalog      []string
	TopMenu      map[string]string
	Title        string
	Route        string
}

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 ItemMenu

type ItemMenu struct {
	Link string
}

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