device

package
v0.0.0-...-d22e7c3 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeAndroid Type = 1
	TypeIOS     Type = 2

	TypeAndroidString = "android"
	TypeIOSString     = "ios"
)

type of device

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

type Device struct {
	// FCMToken for firebase cloud messaging
	// changed when applicaion uninstalled
	FCMToken string
	// ACMToken for apple cloud messaging
	// changed when application uninstalled
	ACMTOken string
	// ID of device
	// only get changed when phone got formatted
	DeviceID string
}

Device struct

type Type

type Type int

Type of device

Jump to

Keyboard shortcuts

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