Documentation ¶
Index ¶
- func Connect() *sql.DB
- func DeleteCachedTrack(trackID string) error
- func DeleteFix(f string) error
- func InsertCachedTrack(track *models.Track) error
- func InsertFix(f *models.Fix) error
- func SelectCachedTMIs() ([]string, error)
- func SelectCachedTrack(tmi string, tk string) (models.Track, error)
- func SelectCachedTracksByTMI(tmi string, dir models.Direction) (map[string]models.Track, error)
- func SelectConcordeFixes() (map[string]models.Fix, error)
- func SelectConcordeTrack(tk string) (models.Track, error)
- func SelectConcordeTracks() (map[string]models.Track, error)
- func SelectEventTrack(event_tmi string, tk string) (models.Track, error)
- func SelectEventTracks(event_tmi string) (map[string]models.Track, error)
- func SelectFix(f string) (models.Fix, error)
- func SelectFixes() (map[string]models.Fix, error)
- func UpdateFix(f *models.Fix) error
- type DbConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteCachedTrack ¶
func InsertCachedTrack ¶
func SelectCachedTMIs ¶
func SelectCachedTracksByTMI ¶
func SelectConcordeTrack ¶
TODO efficiency as well
func SelectConcordeTracks ¶
TODO more efficient way of fetching fixes than iterating
Types ¶
Click to show internal directories.
Click to hide internal directories.