pages

package
v1.0.283 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2020 License: GPL-3.0 Imports: 3 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 {
	Name    string
	Value   interface{}
	Type    string
	Comment string
}

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 {
	Path       string
	Language   string
	Charset    string
	LinkStyles []string
	MetaTags   []string
	Params     []ParamUrlTestPage
	Resp       string
}

func (*URLTestPage) ShowURlTestPage

func (u *URLTestPage) ShowURlTestPage() string

func (*URLTestPage) StreamShowURlTestPage

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

func (*URLTestPage) WriteShowURlTestPage

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

Jump to

Keyboard shortcuts

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