device

package
v0.1.20 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 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 Device

type Device int
const (
	OTHER Device = -1
	WEB   Device = iota
	WAP
	IOS
	ANDROID
	WECHAT_BROWSER
	WECHAT_MINI_PROGRAM
)

func (Device) Des

func (e Device) Des() string

func (Device) MarshalJSON

func (e Device) MarshalJSON() ([]byte, error)

func (*Device) UnmarshalJSON

func (e *Device) UnmarshalJSON(value []byte) error

func (Device) Val

func (e Device) Val() int

Jump to

Keyboard shortcuts

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