Documentation
¶
Index ¶
- func CreateSession(db *sql.DB, name string) (int64, error)
- func DeleteSession(db *sql.DB, id int64)
- func EndSession(db *sql.DB, id int64)
- func GetCommands(db *sql.DB, sessionID int64) ([]models.Command, error)
- func GetHighlights(db *sql.DB, sessionID int64) ([]models.Command, error)
- func GetLatestSession(db *sql.DB) (*models.Session, error)
- func GetMarks(db *sql.DB, sessionID int64) ([]models.Command, error)
- func GetSession(db *sql.DB, id int64) (*models.Session, error)
- func ListSessions(db *sql.DB) ([]models.Session, error)
- func MarkCommand(db *sql.DB, id int64, tag string)
- func Open() (*sql.DB, error)
- func SaveCommand(db *sql.DB, cmd *models.Command) (int64, error)
- func SearchCommands(db *sql.DB, sessionID int64, q string) ([]models.Command, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteSession ¶
func EndSession ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.