22 lines
367 B
Go
22 lines
367 B
Go
|
package db
|
||
|
|
||
|
import (
|
||
|
"database/sql"
|
||
|
|
||
|
"github.com/kschamplin/gotelem/internal/can"
|
||
|
)
|
||
|
|
||
|
// this file implements a CAN adapter for the sqlite db.
|
||
|
|
||
|
type CanDB struct {
|
||
|
Db *sql.DB
|
||
|
}
|
||
|
|
||
|
func (cdb *CanDB) Send(_ *can.Frame) error {
|
||
|
panic("not implemented") // TODO: Implement
|
||
|
}
|
||
|
|
||
|
func (cdb *CanDB) Recv() (*can.Frame, error) {
|
||
|
panic("not implemented") // TODO: Implement
|
||
|
}
|