menu

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Button

type Button struct {
	util.Map
}

Button Button

func NewBaseButton

func NewBaseButton() *Button

NewBaseButton NewBaseButton

func NewClickButton

func NewClickButton(name, key string) *Button

NewClickButton NewClickButton

func NewSubButton

func NewSubButton(name string, sub []*Button) *Button

NewSubButton NewSubButton

func NewViewButton

func NewViewButton(name, url string) *Button

NewViewButton NewViewButton

func (*Button) AddButton

func (b *Button) AddButton(buttons *Button) *Button

AddButton AddButton

func (*Button) GetButtons

func (b *Button) GetButtons() []*Button

GetButtons GetButtons

func (*Button) GetMatchRule

func (b *Button) GetMatchRule() *MatchRule

GetMatchRule GetMatchRule

func (*Button) SetButtons

func (b *Button) SetButtons(buttons []*Button) *Button

SetButtons SetButtons

func (*Button) SetMatchRule

func (b *Button) SetMatchRule(rule *MatchRule) *Button

SetMatchRule SetMatchRule

func (*Button) SetSub

func (b *Button) SetSub(name string, sub []*Button) *Button

SetSub SetSub

type MatchRule

type MatchRule struct {
	TagID              string `json:"tag_id,omitempty"`
	Sex                string `json:"sex,omitempty"`
	Country            string `json:"country,omitempty"`
	Province           string `json:"province,omitempty"`
	City               string `json:"city,omitempty"`
	ClientPlatformType string `json:"client_platform_type,omitempty"`
	Language           string `json:"language,omitempty"`
}

MatchRule MatchRule

Jump to

Keyboard shortcuts

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