Documentation
¶
Overview ¶
Package brand 品牌
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterBrandRouter ¶
RegisterBrandRouter 注册与品牌相关的路由及其处理函数
Types ¶
type Brand ¶
type Brand struct {
LogoURL string `json:"logo_url"`
Name string `json:"name"`
Plugins []Plugin `json:"plugins"`
IsAdded bool `json:"is_added"` // 是否已添加
IsNewest bool `json:"is_newest"` // 是否是最新
SupportDevices []*plugin.Device `json:"support_devices"`
}
Branch 品牌信息
type BrandInfo ¶
type BrandInfo struct {
LogoURL string `json:"logo_url"`
Name string `json:"name"`
PluginAmount int `json:"plugin_amount"` // 插件数量
Plugins []Plugin `json:"plugins"`
IsAdded bool `json:"is_added"` // 是否已添加
IsNewest bool `json:"is_newest"` // 是否是最新
}
BrandInfo 品牌信息
Click to show internal directories.
Click to hide internal directories.