package
Version:
v0.0.0-...-8ad73b1
Opens a new window with list of versions in this module.
Published: Sep 11, 2021
License: GPL-3.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GetDevice retrieve a single device associated with the user for a given platform.
CreateUserAccount add a user to the user table.
type Device struct {
ID *primitive.ObjectID `json:"id" bson:"_id,omitempty"`
UserID string `json:"userid"`
Platform int16 `json:"platform"`
Active bool `json:"active"`
Identifier string `json:"identifier"`
}
GetDevices retrieve a list of devices for a given user.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.