Documentation ¶
Index ¶
Constants ¶
View Source
const CtxKey = "_db"
CtxKey is the key which is used to store the *sql.DB instance inside context.Context.
Variables ¶
This section is empty.
Functions ¶
func DongleExists ¶ added in v0.1.8
DongleExists return true when the dongle DongleExists
Types ¶
type Dongle ¶
type Dongle struct { IMEI string `json:"imei"` IMSI string `json:"imsi"` Path string `json:"path"` IsSymlinked bool `json:"symlink"` TTY int `json:"-"` ATI string `json:"ati"` Properties map[string]string `json:"properties"` CreatedOn time.Time `json:"-"` UpdatedOn time.Time `json:"-"` }
Dongle holds information about device dongles. This relies on combination from the information provided by udev and information that is gathered by talking to the device serial port directly.
func GetDongleByIMEI ¶ added in v0.1.3
Click to show internal directories.
Click to hide internal directories.