Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageCard ¶
func NewImageCard ¶
func NewImageCard() *ImageCard
type LinkAccountCard ¶
type LinkAccountCard struct {
BaseCard
}
func NewLinkAccountCard ¶
func NewLinkAccountCard() *LinkAccountCard
type ListCard ¶
type ListCard struct { List []*ListCardItem `json:"list"` BaseCard }
func NewListCard ¶
func NewListCard() *ListCard
func (*ListCard) AddItem ¶
func (this *ListCard) AddItem(item *ListCardItem) *ListCard
type ListCardItem ¶
type ListCardItem struct { Title string `json:"title"` Content string `json:"content"` Image string `json:"content"` Url string `json:"url"` }
func NewListCardItem ¶
func NewListCardItem() *ListCardItem
func (*ListCardItem) SetContent ¶
func (this *ListCardItem) SetContent(content string) *ListCardItem
func (*ListCardItem) SetImage ¶
func (this *ListCardItem) SetImage(image string) *ListCardItem
func (*ListCardItem) SetTitle ¶
func (this *ListCardItem) SetTitle(title string) *ListCardItem
func (*ListCardItem) SetUrl ¶
func (this *ListCardItem) SetUrl(url string) *ListCardItem
type StandardCard ¶
type StandardCard struct { Title string `json:"title"` Content string `json:"content"` Image string `json:"image"` BaseCard }
func NewStandardCard ¶
func NewStandardCard() *StandardCard
func (*StandardCard) SetContent ¶
func (this *StandardCard) SetContent(content string) *StandardCard
func (*StandardCard) SetImage ¶
func (this *StandardCard) SetImage(image string) *StandardCard
func (*StandardCard) SetTitle ¶
func (this *StandardCard) SetTitle(title string) *StandardCard
Click to show internal directories.
Click to hide internal directories.