model

package
v0.0.0-...-c4ed89f Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2018 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliasDevices

type AliasDevices struct {
	RegistrationIds []string `db:"registration_ids" json:"registration_ids"`
}

type Devices

type Devices struct {
	Tags   []string `db:"tags" json:"tags"`
	Alias  *string  `db:"alias" json:"alias"`
	Mobile *string  `db:"mobile" json:"mobile"`
}

type SetDeviceOption

type SetDeviceOption struct {
	Tags   SetOption `db:"tags" json:"tags"`
	Alias  *string   `db:"alias" json:"alias,omitempty"`
	Mobile *string   `db:"mobile" json:"mobile,omitempty"`
}

type SetOption

type SetOption struct {
	Add    *[]string `db:"add" json:"add,omitempty"`
	Remove *[]string `db:"remove" json:"remove,omitempty"`
}

type TagOption

type TagOption struct {
	SetOption `db:"registration_ids" json:"registration_ids"` // add/remove最多各支持1000个
}

type Tags

type Tags struct {
	Tags []string `db:"tags" json:"tags"`
}

Jump to

Keyboard shortcuts

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