Documentation
¶
Index ¶
- type InfoCount
- type MySQL
- func (s *MySQL) Delete(table string, where string) (int64, error)
- func (s *MySQL) GetAlarmSetting(deviceID uint64, alarmType string) (string, string, uint)
- func (s *MySQL) GetDeviceInfo(deviceID uint64) (sql.NullInt32, string)
- func (s *MySQL) GetDeviceInfoSyncRedis() []SyncInfo
- func (s *MySQL) GetDeviceInformationCount(deviceID uint64, infoType string) uint64
- func (s *MySQL) GetUserLanguage(userID uint64) string
- func (s *MySQL) GetUserPushTokens(userID uint64) []PushToken
- func (s *MySQL) Insert(table string, column []string, values []string) (int64, string, error)
- func (s *MySQL) InsertAlarm(deviceID uint64, ...) (int64, bool)
- func (s *MySQL) InsertDeviceInformation(deviceID uint64, infoType string, content string) (int64, bool)
- func (s *MySQL) Update(table string, column []string, where string) (int64, bool)
- func (s *MySQL) UpdateDeviceInformation(deviceID uint64, infoType string, content string) bool
- type Options
- type PushToken
- type SyncInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MySQL ¶
type MySQL struct {
// contains filtered or unexported fields
}
func (*MySQL) GetAlarmSetting ¶
func (*MySQL) GetDeviceInfo ¶
func (*MySQL) GetDeviceInfoSyncRedis ¶
func (*MySQL) GetDeviceInformationCount ¶
func (*MySQL) GetUserLanguage ¶
func (*MySQL) GetUserPushTokens ¶
func (*MySQL) InsertAlarm ¶
func (*MySQL) InsertDeviceInformation ¶
Click to show internal directories.
Click to hide internal directories.