menu

package
v0.0.0-...-ed8de99 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Menu struct {
	MenuId    string        `json:"menuid"`
	Button    []MenuButton  `json:"button"`
	MatchRule MenuMatchRule `json:"matchrule"`
}
type MenuButton struct {
	Name      string        `json:"name"`
	Type      string        `json:"type"`
	Key       string        `json:"key"`
	SubButton []MenuButton  `json:"sub_button"`
	MediaId   string        `json:"media_id"`
	Url       string        `json:"url"`
	AppId     string        `json:"appid"`
	PagePath  string        `json:"pagepath"`
	Value     string        `json:"value"`
	NewsInfo  []common.News `json:"news_info"`
}
type MenuMatchRule struct {
	TagId              string `json:"tag_id"`
	Sex                string `json:"sex"`
	Country            string `json:"country"`
	Province           string `json:"province"`
	City               string `json:"city"`
	ClientPlatformType string `json:"client_platform_type"`
	Language           string `json:"language"`
}

Jump to

Keyboard shortcuts

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