Documentation ¶
Index ¶
- type Database
- func (d *Database) AddPage(pi common.PageInfo) error
- func (d *Database) AddSession(id, ip string) error
- func (d *Database) GetAllPages(archived bool, maxPages int) (pages []common.PageInfo, err error)
- func (d *Database) GetPage(id string) (pi common.PageInfo, err error)
- func (d *Database) TogglePageArchived(id string) error
- func (d *Database) ValidSession(id string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
func (*Database) AddSession ¶
func (*Database) GetAllPages ¶
func (*Database) TogglePageArchived ¶
Click to show internal directories.
Click to hide internal directories.