Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccelerometerReading ¶
type IDBConnection ¶
type IDBConnection interface {
AddReading(reading *AccelerometerReading)
}
func NewSqLiteDbConnection ¶
func NewSqLiteDbConnection(connectionString string, logger logging.ILogger) (IDBConnection, error)
constructor for an sqlite database connection
type SqLiteDbConnection ¶
type SqLiteDbConnection struct {
// contains filtered or unexported fields
}
func (*SqLiteDbConnection) AddReading ¶
func (s *SqLiteDbConnection) AddReading(reading *AccelerometerReading)
adds a reading to the channel, to be written by a separate goroutine to the db
Click to show internal directories.
Click to hide internal directories.