Documentation ¶
Index ¶
Constants ¶
View Source
const ( BrowserDeviceId = "E31203124E11465A93E8156147D7F9F1" BrowserDeviceName = "浏览器" //TODO 中文翻译 BrowserWechat = "微信" BrowserLiebao = "猎豹" BrowserTheWorld = "世界之窗" BrowserBaidu = "百度" BrowserMaxthon = "傲游" BrowserSogou = "搜狗" BrowserMiui = "小米" BrowserTaobao = "淘宝" BrowserDeviceClient = "WEB_BROWSER_QING" PCClient = "PC客户端" )
View Source
const ( DeviceTypeBrowser = "web" DeviceTypePC = "pc" DeviceTypeAndroid = "android" DeviceTypeIOS = "ios" DeviceTypeWindowsPhone = "windowsphone" DeviceTypeUnkown = "unknown" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceSorter ¶
func (*DeviceSorter) Len ¶
func (s *DeviceSorter) Len() int
func (*DeviceSorter) Less ¶
func (s *DeviceSorter) Less(i, j int) bool
func (*DeviceSorter) Swap ¶
func (s *DeviceSorter) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.