package
Version:
v0.0.0-...-c4ed89f
Opens a new window with list of versions in this module.
Published: Jan 29, 2018
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type AliasDevices struct {
RegistrationIds []string `db:"registration_ids" json:"registration_ids"`
}
type Devices struct {
Tags []string `db:"tags" json:"tags"`
Alias *string `db:"alias" json:"alias"`
Mobile *string `db:"mobile" json:"mobile"`
}
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 struct {
Add *[]string `db:"add" json:"add,omitempty"`
Remove *[]string `db:"remove" json:"remove,omitempty"`
}
type TagOption struct {
SetOption `db:"registration_ids" json:"registration_ids"`
}
type Tags struct {
Tags []string `db:"tags" json:"tags"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.