Documentation ¶
Index ¶
- type Dao
- func (d *Dao) AddDeviceInfo(device *model.Device) error
- func (d *Dao) EnableDevice(uid, connId string) error
- func (d *Dao) GetAllDevices(uid string) ([]*model.Device, error)
- func (d *Dao) GetDevicesByConnID(uid, connID string) (*model.Device, error)
- func (d *Dao) GetTokenDevice(deviceToken string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dao ¶
type Dao struct {
// contains filtered or unexported fields
}
func (*Dao) AddDeviceInfo ¶
hash key:userId hash val: key=device val=json boj
func (*Dao) EnableDevice ¶
hash key:userId hash val: key=device val=json boj
func (*Dao) GetDevicesByConnID ¶ added in v0.1.0
Click to show internal directories.
Click to hide internal directories.