Documentation ¶
Index ¶
- type Database
- func (d *Database) CloseDB() error
- func (d *Database) GetSummaryByURL(url string) (models.Summary, error)
- func (d *Database) GetTextByURL(url string) ([]models.SiteChunk, error)
- func (d *Database) GetVideo(videoID string) (models.Video, error)
- func (d *Database) PostSite(text models.SiteChunk) error
- func (d *Database) PostSummary(summary models.Summary) error
- func (d *Database) PostVideo(video models.Video) error
- func (d *Database) SearchSummary(q string) ([]models.Summary, error)
- func (d *Database) SearchSummarySlice(qs []string) ([]models.Summary, error)
- func (d *Database) SearchText(search string) ([]models.SiteChunk, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
func (*Database) GetSummaryByURL ¶
func (*Database) GetTextByURL ¶
func (*Database) SearchSummary ¶
func (*Database) SearchSummarySlice ¶
this is broken. Needs fixed
Click to show internal directories.
Click to hide internal directories.